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

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

Issue 295373003: Reland 21482 - "Merge v8globals.h and globals.h" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/v8globals.h ('k') | src/x87/macro-assembler-x87.h » ('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 "assembler.h" 8 #include "assembler.h"
9 #include "frames.h" 9 #include "frames.h"
10 #include "v8globals.h" 10 #include "globals.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 // Default scratch register used by MacroAssembler (and other code that needs 15 // Default scratch register used by MacroAssembler (and other code that needs
16 // a spare register). The register isn't callee save, and not used by the 16 // a spare register). The register isn't callee save, and not used by the
17 // function calling convention. 17 // function calling convention.
18 const Register kScratchRegister = { 10 }; // r10. 18 const Register kScratchRegister = { 10 }; // r10.
19 const Register kSmiConstantRegister = { 12 }; // r12 (callee save). 19 const Register kSmiConstantRegister = { 12 }; // r12 (callee save).
20 const Register kRootRegister = { 13 }; // r13 (callee save). 20 const Register kRootRegister = { 13 }; // r13 (callee save).
(...skipping 1574 matching lines...) Expand 10 before | Expand all | Expand 10 after
1595 masm->popfq(); \ 1595 masm->popfq(); \
1596 } \ 1596 } \
1597 masm-> 1597 masm->
1598 #else 1598 #else
1599 #define ACCESS_MASM(masm) masm-> 1599 #define ACCESS_MASM(masm) masm->
1600 #endif 1600 #endif
1601 1601
1602 } } // namespace v8::internal 1602 } } // namespace v8::internal
1603 1603
1604 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1604 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/v8globals.h ('k') | src/x87/macro-assembler-x87.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698