Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index 33e219e7ed6a519bdd060c18998315df9e16c941..e997039445cf0dc12323073f004818ce04454f85 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -287,7 +287,7 @@ class WasmOutOfLineTrap final : public OutOfLineCode { |
gen_->AddProtectedInstruction(pc_, current_pc); |
if (frame_elided_) { |
- __ EnterFrame(StackFrame::WASM); |
+ __ EnterFrame(StackFrame::WASM_COMPILED); |
} |
wasm::TrapReason trap_id = wasm::kTrapMemOutOfBounds; |
@@ -2323,7 +2323,7 @@ void CodeGenerator::AssembleArchTrap(Instruction* instr, |
bool old_has_frame = __ has_frame(); |
if (frame_elided_) { |
__ set_has_frame(true); |
- __ EnterFrame(StackFrame::WASM); |
+ __ EnterFrame(StackFrame::WASM_COMPILED); |
} |
GenerateCallToTrap(trap_id); |
if (frame_elided_) { |