Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index 12d944407f10f2cca250fa306559f2eac0b0da74..2fa814638cf209c1ee75c37d1dbd9d8bb634feb7 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -26,8 +26,9 @@ class BytecodeGraphBuilder::FrameStateBeforeAndAfter { |
} |
~FrameStateBeforeAndAfter() { |
- DCHECK(builder_->environment()->StateValuesAreUpToDate( |
- accumulator_update_mode_)); |
+ DCHECK(!builder_->info()->is_deoptimization_enabled() || |
rmcilroy
2016/01/04 15:40:24
Could you move this up into StateValuesRequireUpda
mythria
2016/01/05 10:17:10
Done.
|
+ builder_->environment()->StateValuesAreUpToDate( |
+ accumulator_update_mode_)); |
} |
private: |