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

Side by Side Diff: runtime/vm/constants_x64.h

Issue 8984003: Port code generator to x64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/constants_ia32.h ('k') | runtime/vm/dart_entry_test.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_CONSTANTS_X64_H_ 5 #ifndef VM_CONSTANTS_X64_H_
6 #define VM_CONSTANTS_X64_H_ 6 #define VM_CONSTANTS_X64_H_
7 7
8 namespace dart { 8 namespace dart {
9 9
10 enum Register { 10 enum Register {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // to allocate or create instances of class Instr. 128 // to allocate or create instances of class Instr.
129 // Use the At(pc) function to create references to Instr. 129 // Use the At(pc) function to create references to Instr.
130 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 130 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
131 131
132 private: 132 private:
133 DISALLOW_ALLOCATION(); 133 DISALLOW_ALLOCATION();
134 // We need to prevent the creation of instances of class Instr. 134 // We need to prevent the creation of instances of class Instr.
135 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 135 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
136 }; 136 };
137 137
138
139 // The largest multibyte nop we will emit. This could go up to 15 if it
140 // becomes important to us.
141 const int MAX_NOP_SIZE = 8;
142
138 } // namespace dart 143 } // namespace dart
139 144
140 #endif // VM_CONSTANTS_X64_H_ 145 #endif // VM_CONSTANTS_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/constants_ia32.h ('k') | runtime/vm/dart_entry_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698