Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index a8fe6bb7b61b2524c6f84313370ab665b234424e..234527812eb9453147a82eb387d047ea31a20595 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -16,7 +16,6 @@ |
#include "src/safepoint-table.h" |
#include "src/string-stream.h" |
#include "src/vm-state-inl.h" |
-#include "src/wasm/wasm-module.h" |
namespace v8 { |
namespace internal { |
@@ -1355,13 +1354,6 @@ uint32_t WasmFrame::function_index() { |
return val; |
} |
-Object* WasmFrame::function_name() { |
- Object* wasm_object = wasm_obj(); |
- if (wasm_object->IsUndefined()) return wasm_object; |
- Handle<JSObject> wasm = handle(JSObject::cast(wasm_object)); |
- return *wasm::GetWasmFunctionName(wasm, function_index()); |
-} |
- |
namespace { |