Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index b88b73da8db84d033ea628ed312e0a25d72f8123..50a2e21a055d7a9d8f11442f6cfa024d555c71dc 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -134,10 +134,12 @@ |
#undef FRAME_TYPE_CASE |
} |
+ |
// ------------------------------------------------------------------------- |
-JavaScriptFrameIterator::JavaScriptFrameIterator(Isolate* isolate, |
- StackFrame::Id id) |
+ |
+JavaScriptFrameIterator::JavaScriptFrameIterator( |
+ Isolate* isolate, StackFrame::Id id) |
: iterator_(isolate) { |
while (!done()) { |
Advance(); |
@@ -444,7 +446,7 @@ |
case Code::OPTIMIZED_FUNCTION: |
return OPTIMIZED; |
case Code::WASM_FUNCTION: |
- return WASM; |
+ return STUB; |
case Code::BUILTIN: |
if (!marker->IsSmi()) { |
if (StandardFrame::IsArgumentsAdaptorFrame(state->fp)) { |
@@ -1220,20 +1222,6 @@ |
accumulator->Add((mode == OVERVIEW) ? "%5d: " : "[%d]: ", index); |
} |
-void WasmFrame::Print(StringStream* accumulator, PrintMode mode, |
- int index) const { |
- accumulator->Add("wasm frame"); |
-} |
- |
-Code* WasmFrame::unchecked_code() const { |
- return static_cast<Code*>(isolate()->FindCodeObject(pc())); |
-} |
- |
-void WasmFrame::Iterate(ObjectVisitor* v) const { IterateCompiledFrame(v); } |
- |
-Address WasmFrame::GetCallerStackPointer() const { |
- return fp() + ExitFrameConstants::kCallerSPDisplacement; |
-} |
namespace { |