| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index a31e6a71fbbff3b1d00de103af1eb534c0381d28..ce7aeceef426949374419806b1ff704564003cf7 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -306,6 +306,23 @@ base::SmartArrayPointer<char> CompilationInfo::GetDebugName() const {
|
| return name;
|
| }
|
|
|
| +StackFrame::Type CompilationInfo::GetOutputStackFrameType() const {
|
| + switch (output_code_kind()) {
|
| + case Code::STUB:
|
| + case Code::HANDLER:
|
| + case Code::BUILTIN:
|
| + return StackFrame::STUB;
|
| + case Code::WASM_FUNCTION:
|
| + return StackFrame::WASM;
|
| + case Code::JS_TO_WASM_FUNCTION:
|
| + return StackFrame::JS_TO_WASM;
|
| + case Code::WASM_TO_JS_FUNCTION:
|
| + return StackFrame::WASM_TO_JS;
|
| + default:
|
| + UNIMPLEMENTED();
|
| + return StackFrame::NONE;
|
| + }
|
| +}
|
|
|
| bool CompilationInfo::ExpectsJSReceiverAsReceiver() {
|
| return is_sloppy(language_mode()) && !is_native();
|
|
|