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

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 1379933003: Revert of [Interpreter] Add CallRuntime support to the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months 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/x64/interface-descriptors-x64.cc ('k') | src/x64/macro-assembler-x64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/base/flags.h" 10 #include "src/base/flags.h"
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack 335 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack
336 // accessible via StackSpaceOperand. 336 // accessible via StackSpaceOperand.
337 void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false); 337 void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false);
338 338
339 // Enter specific kind of exit frame. Allocates arg_stack_space * kPointerSize 339 // Enter specific kind of exit frame. Allocates arg_stack_space * kPointerSize
340 // memory (not GCed) on the stack accessible via StackSpaceOperand. 340 // memory (not GCed) on the stack accessible via StackSpaceOperand.
341 void EnterApiExitFrame(int arg_stack_space); 341 void EnterApiExitFrame(int arg_stack_space);
342 342
343 // Leave the current exit frame. Expects/provides the return value in 343 // Leave the current exit frame. Expects/provides the return value in
344 // register rax:rdx (untouched) and the pointer to the first 344 // register rax:rdx (untouched) and the pointer to the first
345 // argument in register rsi (if pop_arguments == true). 345 // argument in register rsi.
346 void LeaveExitFrame(bool save_doubles = false, bool pop_arguments = true); 346 void LeaveExitFrame(bool save_doubles = false);
347 347
348 // Leave the current exit frame. Expects/provides the return value in 348 // Leave the current exit frame. Expects/provides the return value in
349 // register rax (untouched). 349 // register rax (untouched).
350 void LeaveApiExitFrame(bool restore_context); 350 void LeaveApiExitFrame(bool restore_context);
351 351
352 // Push and pop the registers that can hold pointers. 352 // Push and pop the registers that can hold pointers.
353 void PushSafepointRegisters() { Pushad(); } 353 void PushSafepointRegisters() { Pushad(); }
354 void PopSafepointRegisters() { Popad(); } 354 void PopSafepointRegisters() { Popad(); }
355 // Store the value in register src in the safepoint register stack 355 // Store the value in register src in the safepoint register stack
356 // slot for register dst. 356 // slot for register dst.
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 } \ 1637 } \
1638 masm-> 1638 masm->
1639 #else 1639 #else
1640 #define ACCESS_MASM(masm) masm-> 1640 #define ACCESS_MASM(masm) masm->
1641 #endif 1641 #endif
1642 1642
1643 } // namespace internal 1643 } // namespace internal
1644 } // namespace v8 1644 } // namespace v8
1645 1645
1646 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1646 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/interface-descriptors-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698