Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(703)

Unified Diff: src/frames.h

Issue 2555243002: [wasm] Fix location for error in asm.js ToNumber conversion (Closed)
Patch Set: Address Michis comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/frames.h
diff --git a/src/frames.h b/src/frames.h
index 0b1adfb95c681e489d85a3612bd338f419b08fea..dc25ccfa7c68ab97577315fef3013569b4c60655 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -1111,6 +1111,7 @@ class WasmFrame : public StandardFrame {
uint32_t function_index() const;
Script* script() const override;
int position() const override;
+ bool at_to_number_conversion() const;
static WasmFrame* cast(StackFrame* frame) {
DCHECK(frame->is_wasm());
@@ -1134,6 +1135,8 @@ class WasmToJsFrame : public StubFrame {
inline explicit WasmToJsFrame(StackFrameIteratorBase* iterator);
private:
+ void ComputeCallerState(State* state) const override;
+
friend class StackFrameIteratorBase;
};

Powered by Google App Engine
This is Rietveld 408576698