Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index 88d91718e551c7f3abcaa9e0c1dd3c0ad1a6dcb3..4f9943ed92dad6bfaf26fafa8bc3071e90877f55 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -214,7 +214,8 @@ Node* JSInliner::CreateArgumentsAdaptorFrameState( |
const FrameStateFunctionInfo* state_info = |
jsgraph_->common()->CreateFrameStateFunctionInfo( |
FrameStateType::kArgumentsAdaptor, |
- static_cast<int>(call->formal_arguments()) + 1, 0, shared_info); |
+ static_cast<int>(call->formal_arguments()) + 1, 0, shared_info, |
+ CALL_MAINTAINS_NATIVE_CONTEXT); |
const Operator* op = jsgraph_->common()->FrameState( |
BailoutId(-1), OutputFrameStateCombine::Ignore(), state_info); |