Index: src/compiler/opcodes.h |
diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h |
index ebf6be3266184808cd096231268b80f4ff640a67..d2baa5d244e365cb545aa26edc5757ceb330f5ff 100644 |
--- a/src/compiler/opcodes.h |
+++ b/src/compiler/opcodes.h |
@@ -175,7 +175,8 @@ |
V(JSGeneratorStore) \ |
V(JSGeneratorRestoreContinuation) \ |
V(JSGeneratorRestoreRegister) \ |
- V(JSStackCheck) |
+ V(JSStackCheck) \ |
+ V(JSDebugger) |
#define JS_OP_LIST(V) \ |
JS_SIMPLE_BINOP_LIST(V) \ |
@@ -775,7 +776,7 @@ class V8_EXPORT_PRIVATE IrOpcode { |
// Returns true if opcode for JavaScript operator. |
static bool IsJsOpcode(Value value) { |
- return kJSEqual <= value && value <= kJSStackCheck; |
+ return kJSEqual <= value && value <= kJSDebugger; |
} |
// Returns true if opcode for constant operator. |