Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 17ce402ee2f5ef5f65ee4fe509257ad03ec58cab..fbce95bec0a7f9938bf9c6b356357cb23fe1863c 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -648,7 +648,13 @@ void ExitFrame::FillState(Address fp, Address sp, State* state) { |
} |
JSFunction* BuiltinExitFrame::function() const { |
- return JSFunction::cast(function_slot_object()); |
+ return JSFunction::cast(target_slot_object()); |
+} |
+ |
+Object* BuiltinExitFrame::receiver() const { return receiver_slot_object(); } |
+ |
+bool BuiltinExitFrame::IsConstructor() const { |
+ return !new_target_slot_object()->IsUndefined(isolate()); |
} |
Address StandardFrame::GetExpressionAddress(int n) const { |