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

Side by Side Diff: runtime/vm/constants_ia32.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/compiler_test.cc ('k') | runtime/vm/constants_x64.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 (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_IA32_H_ 5 #ifndef VM_CONSTANTS_IA32_H_
6 #define VM_CONSTANTS_IA32_H_ 6 #define VM_CONSTANTS_IA32_H_
7 7
8 #include "vm/assert.h" 8 #include "vm/assert.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // to allocate or create instances of class Instr. 112 // to allocate or create instances of class Instr.
113 // Use the At(pc) function to create references to Instr. 113 // Use the At(pc) function to create references to Instr.
114 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 114 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
115 115
116 private: 116 private:
117 DISALLOW_ALLOCATION(); 117 DISALLOW_ALLOCATION();
118 // We need to prevent the creation of instances of class Instr. 118 // We need to prevent the creation of instances of class Instr.
119 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 119 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
120 }; 120 };
121 121
122
122 // The largest multibyte nop we will emit. This could go up to 15 if it 123 // The largest multibyte nop we will emit. This could go up to 15 if it
123 // becomes important to us. 124 // becomes important to us.
124 const int MAX_NOP_SIZE = 8; 125 const int MAX_NOP_SIZE = 8;
125 126
126 } // namespace dart 127 } // namespace dart
127 128
128 #endif // VM_CONSTANTS_IA32_H_ 129 #endif // VM_CONSTANTS_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/compiler_test.cc ('k') | runtime/vm/constants_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698