Index: src/compiler/ia32/code-generator-ia32.cc |
diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc |
index fcea57f93e8b3d005fb92faa151dd66352aef23c..3f452e8cb7ac7a0edae08d2d3382b76f5f8abfb4 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -730,6 +730,12 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kCheckedStoreFloat64: |
ASSEMBLE_CHECKED_STORE_FLOAT(movsd); |
break; |
+ case kIA32StackCheck: { |
+ ExternalReference const stack_limit = |
+ ExternalReference::address_of_stack_limit(isolate()); |
+ __ cmp(esp, Operand::StaticVariable(stack_limit)); |
+ break; |
+ } |
} |
} |