| Index: src/frames.h
|
| diff --git a/src/frames.h b/src/frames.h
|
| index 0b1adfb95c681e489d85a3612bd338f419b08fea..06703dd52cfc2a95788c82b4839d8aa138c7f23e 100644
|
| --- a/src/frames.h
|
| +++ b/src/frames.h
|
| @@ -441,12 +441,11 @@ class StackFrame BASE_EMBEDDED {
|
| };
|
|
|
| struct State {
|
| - State() : sp(NULL), fp(NULL), pc_address(NULL),
|
| - constant_pool_address(NULL) { }
|
| - Address sp;
|
| - Address fp;
|
| - Address* pc_address;
|
| - Address* constant_pool_address;
|
| + Address sp = nullptr;
|
| + Address fp = nullptr;
|
| + Address* pc_address = nullptr;
|
| + Address* callee_pc_address = nullptr;
|
| + Address* constant_pool_address = nullptr;
|
| };
|
|
|
| // Copy constructor; it breaks the connection to host iterator
|
| @@ -485,6 +484,7 @@ class StackFrame BASE_EMBEDDED {
|
| // Accessors.
|
| Address sp() const { return state_.sp; }
|
| Address fp() const { return state_.fp; }
|
| + Address callee_pc() const { return *state_.callee_pc_address; }
|
| Address caller_sp() const { return GetCallerStackPointer(); }
|
|
|
| // If this frame is optimized and was dynamically aligned return its old
|
| @@ -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());
|
|
|