Index: src/runtime/runtime.h |
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h |
index 1fa7e2c657a169e2a846753c1d215e74bbec1e32..00893e76023bab5fe89b510730214d19dc2e7d67 100644 |
--- a/src/runtime/runtime.h |
+++ b/src/runtime/runtime.h |
@@ -1182,15 +1182,6 @@ class Runtime : public AllStatic { |
static MaybeHandle<JSArray> GetInternalProperties(Isolate* isolate, |
Handle<Object>); |
- |
- // Find the arguments of the JavaScript function invocation that called |
- // into C++ code. Collect these in a newly allocated array of handles |
- // (possibly prefixed by a number of empty handles). |
- // TODO(mstarzinger): Temporary workaround until this is only used by the |
- // %_Arguments and %_ArgumentsLength intrinsics. Make this function local to |
- // runtime-scopes.cc then. |
- static base::SmartArrayPointer<Handle<Object>> GetCallerArguments( |
- Isolate* isolate, int prefix_argc, int* total_argc); |
}; |