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

Unified Diff: src/contexts.cc

Issue 1424703005: Remove JSBuiltinsObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/contexts.cc
diff --git a/src/contexts.cc b/src/contexts.cc
index a18f181bef8ccb3e0ca80d43dc5a1f3107105d73..79167f6edf7a770a4a990d74f6cfd9e71c0acfa6 100644
--- a/src/contexts.cc
+++ b/src/contexts.cc
@@ -118,17 +118,6 @@ String* Context::catch_name() {
}
-JSBuiltinsObject* Context::builtins() {
- GlobalObject* object = global_object();
- if (object->IsJSGlobalObject()) {
- return JSGlobalObject::cast(object)->builtins();
- } else {
- DCHECK(object->IsJSBuiltinsObject());
- return JSBuiltinsObject::cast(object);
- }
-}
-
-
Context* Context::script_context() {
Context* current = this;
while (!current->IsScriptContext()) {

Powered by Google App Engine
This is Rietveld 408576698