diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc index 939ef052ff..600764ac4e 100644 --- a/src/mips/builtins-mips.cc +++ b/src/mips/builtins-mips.cc @@ -1628,7 +1628,7 @@ void Builtins::Generate_Call(MacroAssembler* masm) { // 3. Call to something that is not callable. __ bind(&non_callable); { - FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); + FrameScope scope(masm, StackFrame::INTERNAL); __ Push(a1); __ CallRuntime(Runtime::kThrowCalledNonCallable, 1); } @@ -1698,7 +1698,7 @@ void Builtins::Generate_Construct(MacroAssembler* masm) { // 3. Construct of something that is not callable. __ bind(&non_callable); { - FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); + FrameScope scope(masm, StackFrame::INTERNAL); __ Push(a1); __ CallRuntime(Runtime::kThrowCalledNonCallable, 1); } diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc index b588f78eee..581fbe781a 100644 --- a/src/mips64/builtins-mips64.cc +++ b/src/mips64/builtins-mips64.cc @@ -1625,7 +1625,7 @@ void Builtins::Generate_Call(MacroAssembler* masm) { // 3. Call to something that is not callable. __ bind(&non_callable); { - FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); + FrameScope scope(masm, StackFrame::INTERNAL); __ Push(a1); __ CallRuntime(Runtime::kThrowCalledNonCallable, 1); } @@ -1694,7 +1694,7 @@ void Builtins::Generate_Construct(MacroAssembler* masm) { // 3. Construct of something that is not callable. __ bind(&non_callable); { - FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); + FrameScope scope(masm, StackFrame::INTERNAL); __ Push(a1); __ CallRuntime(Runtime::kThrowCalledNonCallable, 1); }