| Index: src/ia32/builtins-ia32.cc
|
| diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc
|
| index efa3456d8e0698de66e0e5d58eddd3452ca2d62e..56b8f2f2931d78745643d62ad6452eff154edbe3 100644
|
| --- a/src/ia32/builtins-ia32.cc
|
| +++ b/src/ia32/builtins-ia32.cc
|
| @@ -1659,8 +1659,9 @@ void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) {
|
| __ j(not_equal, &skip, Label::kNear);
|
| __ ret(0);
|
|
|
| - // If we decide not to perform on-stack replacement we perform a
|
| - // stack guard check to enable interrupts.
|
| + // Insert a stack guard check so that if we decide not to perform
|
| + // on-stack replacement right away, the function calling this stub can
|
| + // still be interrupted.
|
| __ bind(&stack_check);
|
| Label ok;
|
| ExternalReference stack_limit =
|
|
|