Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index a6c19af58fadc122923aca0f4b69bcdaa94db2c4..5254c3eba3502028b60d5af3860a619573c97649 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -1480,6 +1480,12 @@ void BytecodeGraphBuilder::VisitDebugger() { |
environment()->BindAccumulator(call, &states); |
} |
+// We cannot create a graph from the debugger copy of the bytecode array. |
+#define DEBUG_BREAK(Name, ...) \ |
+ void BytecodeGraphBuilder::Visit##Name() { CHECK(false); } |
rmcilroy
2016/02/16 10:46:38
/s/CHECK(false)/UNREACHABLE()/
Yang
2016/02/19 13:09:17
Done.
|
+DEBUG_BREAK_BYTECODE_LIST(DEBUG_BREAK); |
+#undef DEBUG_BREAK |
+ |
void BytecodeGraphBuilder::BuildForInPrepare() { |
FrameStateBeforeAndAfter states(this); |
Node* receiver = environment()->LookupAccumulator(); |