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

Unified Diff: src/builtins.cc

Issue 6717018: Introduce accessors on builtins instance (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 9 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
Index: src/builtins.cc
diff --git a/src/builtins.cc b/src/builtins.cc
index 4604872aaf581fcf02fea1862a09b1f86ebe8254..d07b09b95ca47fccb6d424c9e9149aeba23911f7 100644
--- a/src/builtins.cc
+++ b/src/builtins.cc
@@ -1685,4 +1685,9 @@ const char* Builtins::Lookup(byte* pc) {
}
+Handle<Code> Builtins::builtin(Name name, Isolate* isolate) {
+ return Handle<Code>(isolate->builtins()->builtin(name), isolate);
Vitaly Repeshko 2011/03/22 14:46:20 I think we can reuse builtin address to avoid allo
+}
+
+
} } // namespace v8::internal
« src/builtins.h ('K') | « src/builtins.h ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698