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()) { |