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

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

Issue 1331623002: Uses SNPRINT macro where possible. Otherwise uses #define for format. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
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_ARM_H_ 5 #ifndef VM_ASSEMBLER_ARM_H_
6 #define VM_ASSEMBLER_ARM_H_ 6 #define VM_ASSEMBLER_ARM_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_arm.h directly; use assembler.h instead. 9 #error Do not include assembler_arm.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 use_far_branches_ = b; 359 use_far_branches_ = b;
360 } 360 }
361 #endif // TESTING || DEBUG 361 #endif // TESTING || DEBUG
362 362
363 void FinalizeInstructions(const MemoryRegion& region) { 363 void FinalizeInstructions(const MemoryRegion& region) {
364 buffer_.FinalizeInstructions(region); 364 buffer_.FinalizeInstructions(region);
365 } 365 }
366 366
367 // Debugging and bringup support. 367 // Debugging and bringup support.
368 void Stop(const char* message); 368 void Stop(const char* message);
369 void Unimplemented(const char* message);
370 void Untested(const char* message);
371 void Unreachable(const char* message);
372 369
373 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); 370 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length);
374 371
375 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); 372 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
376 static bool EmittingComments(); 373 static bool EmittingComments();
377 374
378 const Code::Comments& GetCodeComments() const; 375 const Code::Comments& GetCodeComments() const;
379 376
380 static const char* RegisterName(Register reg); 377 static const char* RegisterName(Register reg);
381 378
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 Register new_value, 1141 Register new_value,
1145 FieldContent old_content); 1142 FieldContent old_content);
1146 1143
1147 DISALLOW_ALLOCATION(); 1144 DISALLOW_ALLOCATION();
1148 DISALLOW_COPY_AND_ASSIGN(Assembler); 1145 DISALLOW_COPY_AND_ASSIGN(Assembler);
1149 }; 1146 };
1150 1147
1151 } // namespace dart 1148 } // namespace dart
1152 1149
1153 #endif // VM_ASSEMBLER_ARM_H_ 1150 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698