Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index cb2e8df05d7eea384c6160b52602f2906426383a..7afa3a6aa6e6122bc1932a2a320d3077684d18d9 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -9408,20 +9408,6 @@ RUNTIME_FUNCTION(Runtime_StoreLookupSlot) { |
} |
-RUNTIME_FUNCTION(Runtime_LoadContextRelative) { |
- SealHandleScope shs(isolate); |
- ASSERT(args.length() == 3); |
- CONVERT_ARG_CHECKED(Context, context, 0); |
- CONVERT_SMI_ARG_CHECKED(depth, 1); |
- CONVERT_SMI_ARG_CHECKED(index, 2); |
- while (depth-- > 0) { |
- context = context->previous(); |
- ASSERT(context->IsContext()); |
- } |
- return context->get(index); |
-} |
- |
- |
RUNTIME_FUNCTION(Runtime_StoreContextRelative) { |
SealHandleScope shs(isolate); |
ASSERT(args.length() == 4); |