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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/runtime/runtime-utils.h" 5 #include "src/runtime/runtime-utils.h"
6 6
7 #include "src/arguments.h" 7 #include "src/arguments.h"
8 #include "src/isolate-inl.h" 8 #include "src/isolate-inl.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 212
213 // TODO(rmcilroy): Remove this once the interpreter supports runtime functions 213 // TODO(rmcilroy): Remove this once the interpreter supports runtime functions
214 // which return a pair. 214 // which return a pair.
215 RUNTIME_FUNCTION(Runtime_InterpreterLoadLookupSlotReceiver) { 215 RUNTIME_FUNCTION(Runtime_InterpreterLoadLookupSlotReceiver) {
216 ObjectPair result = 216 ObjectPair result =
217 Runtime_LoadLookupSlot(args.length(), args.arguments(), isolate); 217 Runtime_LoadLookupSlot(args.length(), args.arguments(), isolate);
218 return result.y; 218 return result.y;
219 } 219 }
220 220
221
222 // Declared in runtime.cc.
223 // TODO(mythria): Remove this once the interpreter supports projecting out
224 // unnecessary outputs.
225 ObjectPair Runtime_LoadLookupSlotNoReferenceError(int args_length,
226 Object** args_object,
227 Isolate* isolate);
228
229
230 // TODO(mythria): Remove this once the interpreter supports projecting out
231 // unnecessary outputs.
232 RUNTIME_FUNCTION(Runtime_InterpreterLoadLookupSlotNoReferenceErrorValue) {
Michael Starzinger 2015/12/14 21:25:04 The first projection should actually be usable wit
233 ObjectPair result = Runtime_LoadLookupSlotNoReferenceError(
234 args.length(), args.arguments(), isolate);
235 return result.x;
Michael Starzinger 2015/12/14 21:25:04 This won't compile on 32-bit architectures.
236 }
237
221 } // namespace internal 238 } // namespace internal
222 } // namespace v8 239 } // namespace v8
OLDNEW
« 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