Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index f2e2650ce7d9e7c7c5a6d1c266a8ffead5f8e24a..d20d3f12af594905b96119ba115965c906b8847f 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -14951,18 +14951,6 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ObservationWeakMapCreate) { |
} |
-RUNTIME_FUNCTION(MaybeObject*, Runtime_UnwrapGlobalProxy) { |
- SealHandleScope shs(isolate); |
- ASSERT(args.length() == 1); |
- Object* object = args[0]; |
- if (object->IsJSGlobalProxy()) { |
- object = object->GetPrototype(isolate); |
- if (object->IsNull()) return isolate->heap()->undefined_value(); |
- } |
- return object; |
-} |
- |
- |
RUNTIME_FUNCTION(MaybeObject*, Runtime_IsAccessAllowedForObserver) { |
HandleScope scope(isolate); |
ASSERT(args.length() == 3); |