Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Unified Diff: src/frames.cc

Issue 1970503004: [wasm] Differentiate unnamed and empty names (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@add-utf8-check
Patch Set: Yang's last comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/frames.h ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « src/frames.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698