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

Side by Side Diff: runtime/vm/assembler_arm64.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: Format string fixes 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_ARM64_H_ 5 #ifndef VM_ASSEMBLER_ARM64_H_
6 #define VM_ASSEMBLER_ARM64_H_ 6 #define VM_ASSEMBLER_ARM64_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_arm64.h directly; use assembler.h instead. 9 #error Do not include assembler_arm64.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 ASSERT(buffer_.Size() == 0); 491 ASSERT(buffer_.Size() == 0);
492 use_far_branches_ = b; 492 use_far_branches_ = b;
493 } 493 }
494 494
495 void FinalizeInstructions(const MemoryRegion& region) { 495 void FinalizeInstructions(const MemoryRegion& region) {
496 buffer_.FinalizeInstructions(region); 496 buffer_.FinalizeInstructions(region);
497 } 497 }
498 498
499 // Debugging and bringup support. 499 // Debugging and bringup support.
500 void Stop(const char* message); 500 void Stop(const char* message);
501 void Unimplemented(const char* message);
502 void Untested(const char* message);
503 void Unreachable(const char* message);
504 501
505 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); 502 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length);
506 503
507 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); 504 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
508 static bool EmittingComments(); 505 static bool EmittingComments();
509 506
510 const Code::Comments& GetCodeComments() const; 507 const Code::Comments& GetCodeComments() const;
511 508
512 static const char* RegisterName(Register reg); 509 static const char* RegisterName(Register reg);
513 510
(...skipping 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after
1923 Register value, 1920 Register value,
1924 Label* no_update); 1921 Label* no_update);
1925 1922
1926 DISALLOW_ALLOCATION(); 1923 DISALLOW_ALLOCATION();
1927 DISALLOW_COPY_AND_ASSIGN(Assembler); 1924 DISALLOW_COPY_AND_ASSIGN(Assembler);
1928 }; 1925 };
1929 1926
1930 } // namespace dart 1927 } // namespace dart
1931 1928
1932 #endif // VM_ASSEMBLER_ARM64_H_ 1929 #endif // VM_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm.h ('k') | runtime/vm/assembler_ia32.h » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698