| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index cdc1c993ff5b7f536302fea0a68f4209f7c63884..ba4fa7f1ffe4f429121b83f6df7a2293c570dc25 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4874,7 +4874,8 @@ class Code: public HeapObject {
|
| V(REGEXP) \
|
| V(WASM_FUNCTION) \
|
| V(WASM_TO_JS_FUNCTION) \
|
| - V(JS_TO_WASM_FUNCTION)
|
| + V(JS_TO_WASM_FUNCTION) \
|
| + V(WASM_TO_INTERPRETER)
|
|
|
| #define IC_KIND_LIST(V) \
|
| V(LOAD_IC) \
|
| @@ -10617,6 +10618,8 @@ class ObjectTemplateInfo: public TemplateInfo {
|
| class DebugInfo: public Struct {
|
| public:
|
| // The shared function info for the source being debugged.
|
| + // Some debug info does not have an shared function info, e.g. for wasm, so
|
| + // check has_shared() before calling shared().
|
| DECL_ACCESSORS(shared, SharedFunctionInfo)
|
| // Code object for the patched code. This code object is the code object
|
| // currently active for the function.
|
| @@ -10624,6 +10627,8 @@ class DebugInfo: public Struct {
|
| // Fixed array holding status information for each active break point.
|
| DECL_ACCESSORS(break_points, FixedArray)
|
|
|
| + // Check whether a shared function info is available for this debug info.
|
| + inline bool has_shared() const;
|
| // Check if there is a break point at a code offset.
|
| bool HasBreakPoint(int code_offset);
|
| // Get the break point info object for a code offset.
|
|
|