Revision: 17319
Author: [email protected]
Date: Tue Oct 22 11:37:15 2013 UTC
Log: Guard against misuse of IfBuilder.
[email protected]
Review URL: https://codereview.chromium.org/30693007
http://code.google.com/p/v8/source/detail?r=17319
Modified:
/branches/bleeding_edge/src/hydrogen.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen.cc Tue Oct 22 11:29:05 2013 UTC
+++ /branches/bleeding_edge/src/hydrogen.cc Tue Oct 22 11:37:15 2013 UTC
@@ -795,6 +795,7 @@
void HGraphBuilder::IfBuilder::Or() {
+ ASSERT(!needs_compare_);
ASSERT(!did_and_);
did_or_ = true;
HEnvironment* env = first_false_block_->last_environment();
@@ -810,6 +811,7 @@
void HGraphBuilder::IfBuilder::And() {
+ ASSERT(!needs_compare_);
ASSERT(!did_or_);
did_and_ = true;
HEnvironment* env = first_false_block_->last_environment();
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.