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

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

Issue 1586153004: PPC: [Interpreter] Add ForInPrepare runtime function which returns a ObjectTriple. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/ppc/code-stubs-ppc.cc ('k') | src/ppc/simulator-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC_MACRO_ASSEMBLER_PPC_H_ 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_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/frames.h" 10 #include "src/frames.h"
11 #include "src/globals.h" 11 #include "src/globals.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 15
16 // Give alias names to registers for calling conventions. 16 // Give alias names to registers for calling conventions.
17 const Register kReturnRegister0 = {Register::kCode_r3}; 17 const Register kReturnRegister0 = {Register::kCode_r3};
18 const Register kReturnRegister1 = {Register::kCode_r4}; 18 const Register kReturnRegister1 = {Register::kCode_r4};
19 const Register kReturnRegister2 = {Register::kCode_r5};
19 const Register kJSFunctionRegister = {Register::kCode_r4}; 20 const Register kJSFunctionRegister = {Register::kCode_r4};
20 const Register kContextRegister = {Register::kCode_r30}; 21 const Register kContextRegister = {Register::kCode_r30};
21 const Register kInterpreterAccumulatorRegister = {Register::kCode_r3}; 22 const Register kInterpreterAccumulatorRegister = {Register::kCode_r3};
22 const Register kInterpreterRegisterFileRegister = {Register::kCode_r14}; 23 const Register kInterpreterRegisterFileRegister = {Register::kCode_r14};
23 const Register kInterpreterBytecodeOffsetRegister = {Register::kCode_r15}; 24 const Register kInterpreterBytecodeOffsetRegister = {Register::kCode_r15};
24 const Register kInterpreterBytecodeArrayRegister = {Register::kCode_r16}; 25 const Register kInterpreterBytecodeArrayRegister = {Register::kCode_r16};
25 const Register kInterpreterDispatchTableRegister = {Register::kCode_r17}; 26 const Register kInterpreterDispatchTableRegister = {Register::kCode_r17};
26 const Register kJavaScriptCallArgCountRegister = {Register::kCode_r3}; 27 const Register kJavaScriptCallArgCountRegister = {Register::kCode_r3};
27 const Register kJavaScriptCallNewTargetRegister = {Register::kCode_r6}; 28 const Register kJavaScriptCallNewTargetRegister = {Register::kCode_r6};
28 const Register kRuntimeCallFunctionRegister = {Register::kCode_r4}; 29 const Register kRuntimeCallFunctionRegister = {Register::kCode_r4};
(...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 #define ACCESS_MASM(masm) \ 1588 #define ACCESS_MASM(masm) \
1588 masm->stop(__FILE_LINE__); \ 1589 masm->stop(__FILE_LINE__); \
1589 masm-> 1590 masm->
1590 #else 1591 #else
1591 #define ACCESS_MASM(masm) masm-> 1592 #define ACCESS_MASM(masm) masm->
1592 #endif 1593 #endif
1593 } // namespace internal 1594 } // namespace internal
1594 } // namespace v8 1595 } // namespace v8
1595 1596
1596 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1597 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/ppc/simulator-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698