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

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

Issue 410333003: Shorter TryAllocate instruction sequence on ARM/ARM64/MIPS. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_ASSEMBLER_MIPS_H_ 5 #ifndef VM_ASSEMBLER_MIPS_H_
6 #define VM_ASSEMBLER_MIPS_H_ 6 #define VM_ASSEMBLER_MIPS_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_mips.h directly; use assembler.h instead. 9 #error Do not include assembler_mips.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // TODO(zra): TraceSimMsg enables printing of helpful messages when 220 // TODO(zra): TraceSimMsg enables printing of helpful messages when
221 // --trace_sim is given. Eventually these calls will be changed to Comment. 221 // --trace_sim is given. Eventually these calls will be changed to Comment.
222 void TraceSimMsg(const char* message); 222 void TraceSimMsg(const char* message);
223 void Unimplemented(const char* message); 223 void Unimplemented(const char* message);
224 void Untested(const char* message); 224 void Untested(const char* message);
225 void Unreachable(const char* message); 225 void Unreachable(const char* message);
226 226
227 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); 227 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length);
228 228
229 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); 229 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
230 static bool EmittingComments();
230 231
231 const Code::Comments& GetCodeComments() const; 232 const Code::Comments& GetCodeComments() const;
232 233
233 static const char* RegisterName(Register reg); 234 static const char* RegisterName(Register reg);
234 235
235 static const char* FpuRegisterName(FpuRegister reg); 236 static const char* FpuRegisterName(FpuRegister reg);
236 237
237 void SetPrologueOffset() { 238 void SetPrologueOffset() {
238 if (prologue_offset_ == -1) { 239 if (prologue_offset_ == -1) {
239 prologue_offset_ = CodeSize(); 240 prologue_offset_ = CodeSize();
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1367 Register value, 1368 Register value,
1368 Label* no_update); 1369 Label* no_update);
1369 1370
1370 DISALLOW_ALLOCATION(); 1371 DISALLOW_ALLOCATION();
1371 DISALLOW_COPY_AND_ASSIGN(Assembler); 1372 DISALLOW_COPY_AND_ASSIGN(Assembler);
1372 }; 1373 };
1373 1374
1374 } // namespace dart 1375 } // namespace dart
1375 1376
1376 #endif // VM_ASSEMBLER_MIPS_H_ 1377 #endif // VM_ASSEMBLER_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698