Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index 1cb455efb56bcddc01576054648af72c20c13328..323b70ac94107e9ccbf438ab78587c9a8d3b61ea 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -680,6 +680,15 @@ Handle<Object> WasmStackFrame::Null() const { |
return isolate_->factory()->null_value(); |
} |
+void AsmJsWasmStackFrame::FromFrameArray(Isolate* isolate, |
+ Handle<FrameArray> array, |
+ int frame_ix) { |
+ DCHECK(array->IsAsmJsWasmFrame(frame_ix)); |
+ WasmStackFrame::FromFrameArray(isolate, array, frame_ix); |
+ is_at_number_conversion_ = |
+ array->Flags(frame_ix)->value() & FrameArray::kAsmJsAtNumberConversion; |
+} |
+ |
Handle<Object> AsmJsWasmStackFrame::GetReceiver() const { |
return isolate_->global_proxy(); |
} |
@@ -711,7 +720,8 @@ int AsmJsWasmStackFrame::GetPosition() const { |
isolate_); |
DCHECK_LE(0, byte_offset); |
return WasmCompiledModule::GetAsmJsSourcePosition( |
- compiled_module, wasm_func_index_, static_cast<uint32_t>(byte_offset)); |
+ compiled_module, wasm_func_index_, static_cast<uint32_t>(byte_offset), |
+ is_at_number_conversion_); |
} |
int AsmJsWasmStackFrame::GetLineNumber() { |