Chromium Code Reviews| Index: src/runtime/runtime-interpreter.cc |
| diff --git a/src/runtime/runtime-interpreter.cc b/src/runtime/runtime-interpreter.cc |
| index 340e5d34dc91f40f038d2c5266bd39496972be41..0b55f926c8345c25babb6834f9c362b0a17905d5 100644 |
| --- a/src/runtime/runtime-interpreter.cc |
| +++ b/src/runtime/runtime-interpreter.cc |
| @@ -218,5 +218,22 @@ RUNTIME_FUNCTION(Runtime_InterpreterLoadLookupSlotReceiver) { |
| return result.y; |
| } |
| + |
| +// Declared in runtime.cc. |
| +// TODO(mythria): Remove this once the interpreter supports projecting out |
| +// unnecessary outputs. |
| +ObjectPair Runtime_LoadLookupSlotNoReferenceError(int args_length, |
| + Object** args_object, |
| + Isolate* isolate); |
| + |
| + |
| +// TODO(mythria): Remove this once the interpreter supports projecting out |
| +// unnecessary outputs. |
| +RUNTIME_FUNCTION(Runtime_InterpreterLoadLookupSlotNoReferenceErrorValue) { |
|
Michael Starzinger
2015/12/14 21:25:04
The first projection should actually be usable wit
|
| + ObjectPair result = Runtime_LoadLookupSlotNoReferenceError( |
| + args.length(), args.arguments(), isolate); |
| + return result.x; |
|
Michael Starzinger
2015/12/14 21:25:04
This won't compile on 32-bit architectures.
|
| +} |
| + |
| } // namespace internal |
| } // namespace v8 |