Index: src/compiler/opcodes.h |
diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h |
index 5343c2f1c285c02ac913e54e2bc3ae77955e0ce6..28e1d485cda086518e55e5b3b36f0d278753bbef 100644 |
--- a/src/compiler/opcodes.h |
+++ b/src/compiler/opcodes.h |
@@ -131,7 +131,8 @@ |
V(JSCallFunction) \ |
V(JSCallRuntime) \ |
V(JSYield) \ |
- V(JSDebugger) |
+ V(JSDebugger) \ |
+ V(JSStackCheck) |
#define JS_OP_LIST(V) \ |
JS_SIMPLE_BINOP_LIST(V) \ |
@@ -304,7 +305,7 @@ class IrOpcode { |
// Returns true if opcode for JavaScript operator. |
static bool IsJsOpcode(Value value) { |
- return kJSEqual <= value && value <= kJSDebugger; |
+ return kJSEqual <= value && value <= kJSStackCheck; |
} |
// Returns true if opcode for constant operator. |