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

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

Issue 574009: Fixed random style violations. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 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/ia32/macro-assembler-ia32.h ('k') | src/x64/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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // when constructing the REX prefix byte. 106 // when constructing the REX prefix byte.
107 int high_bit() const { 107 int high_bit() const {
108 return code_ >> 3; 108 return code_ >> 3;
109 } 109 }
110 // Return the 3 low bits of the register code. Used when encoding registers 110 // Return the 3 low bits of the register code. Used when encoding registers
111 // in modR/M, SIB, and opcode bytes. 111 // in modR/M, SIB, and opcode bytes.
112 int low_bits() const { 112 int low_bits() const {
113 return code_ & 0x7; 113 return code_ & 0x7;
114 } 114 }
115 115
116 // (unfortunately we can't make this private in a struct when initializing 116 // Unfortunately we can't make this private in a struct when initializing
117 // by assignment.) 117 // by assignment.
118 int code_; 118 int code_;
119 }; 119 };
120 120
121 extern Register rax; 121 extern Register rax;
122 extern Register rcx; 122 extern Register rcx;
123 extern Register rdx; 123 extern Register rdx;
124 extern Register rbx; 124 extern Register rbx;
125 extern Register rsp; 125 extern Register rsp;
126 extern Register rbp; 126 extern Register rbp;
127 extern Register rsi; 127 extern Register rsi;
(...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 private: 1406 private:
1407 Assembler* assembler_; 1407 Assembler* assembler_;
1408 #ifdef DEBUG 1408 #ifdef DEBUG
1409 int space_before_; 1409 int space_before_;
1410 #endif 1410 #endif
1411 }; 1411 };
1412 1412
1413 } } // namespace v8::internal 1413 } } // namespace v8::internal
1414 1414
1415 #endif // V8_X64_ASSEMBLER_X64_H_ 1415 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.h ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698