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

Unified Diff: src/js/messages.js

Issue 2194883002: Remove GetStackTraceLine (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@port-format-stack-trace
Patch Set: Rebase Created 4 years, 5 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/execution.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/messages.js
diff --git a/src/js/messages.js b/src/js/messages.js
index e049dd3f48764454980d38f88530b4de2dd46f06..0cfae93f536e87b787d09dba11b3c619e3319983 100644
--- a/src/js/messages.js
+++ b/src/js/messages.js
@@ -248,11 +248,6 @@ utils.SetUpLockedPrototype(Script, [
]
);
-
-function GetStackTraceLine(recv, fun, pos, isGlobal) {
- return new CallSite(recv, fun, pos, false).toString();
-}
-
// ----------------------------------------------------------------------------
// Error implementation
@@ -293,7 +288,6 @@ function MakeURIError() {
}
%InstallToContext([
- "get_stack_trace_line_fun", GetStackTraceLine,
"make_error_function", MakeGenericError,
"make_range_error", MakeRangeError,
"make_type_error", MakeTypeError,
« no previous file with comments | « src/execution.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698