| Index: src/full-codegen/full-codegen.cc
|
| diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
|
| index 8f7684dfa752c9db9e8777133ddd68300c24599c..0fd76aec4a00b3cbcd7f93fc5d2a1fe9f5f2b30d 100644
|
| --- a/src/full-codegen/full-codegen.cc
|
| +++ b/src/full-codegen/full-codegen.cc
|
| @@ -1093,7 +1093,7 @@ void FullCodeGenerator::VisitWithStatement(WithStatement* stmt) {
|
| Callable callable = CodeFactory::ToObject(isolate());
|
| __ Move(callable.descriptor().GetRegisterParameter(0), result_register());
|
| __ Call(callable.code(), RelocInfo::CODE_TARGET);
|
| - PrepareForBailoutForId(stmt->ToObjectId(), BailoutState::NO_REGISTERS);
|
| + PrepareForBailoutForId(stmt->ToObjectId(), BailoutState::TOS_REGISTER);
|
| PushOperand(result_register());
|
| PushFunctionArgumentForContextAllocation();
|
| CallRuntimeWithOperands(Runtime::kPushWithContext);
|
|
|