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

Unified Diff: src/debug.cc

Issue 1114043002: Cache experimental natives sources as external strings. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: also delete experimental native sources at tear down Created 5 years, 8 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/bootstrapper.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug.cc
diff --git a/src/debug.cc b/src/debug.cc
index 3d192773252352576975c99b6a7d78de608b7301..89334fa70868382b482f8a1d0494f685916e2844 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -636,7 +636,7 @@ bool Debug::CompileDebuggerScript(Isolate* isolate, int index) {
// Find source and name for the requested script.
Handle<String> source_code =
- isolate->bootstrapper()->NativesSourceLookup(index);
+ isolate->bootstrapper()->SourceLookup<Natives>(index);
Vector<const char> name = Natives::GetScriptName(index);
Handle<String> script_name =
factory->NewStringFromAscii(name).ToHandleChecked();
« no previous file with comments | « src/bootstrapper.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698