Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: src/runtime/runtime-interpreter.cc

Issue 1524803003: [Interpreter] Add support for Load / Store to Lookup slots. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@init_eval_impl
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime.h ('k') | test/cctest/interpreter/test-bytecode-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/runtime/runtime.h ('k') | test/cctest/interpreter/test-bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698