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

Side by Side Diff: runtime/vm/assembler_ia32.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) 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_IA32_H_ 5 #ifndef VM_ASSEMBLER_IA32_H_
6 #define VM_ASSEMBLER_IA32_H_ 6 #define VM_ASSEMBLER_IA32_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_ia32.h directly; use assembler.h instead. 9 #error Do not include assembler_ia32.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 void TryAllocateArray(intptr_t cid, 914 void TryAllocateArray(intptr_t cid,
915 intptr_t instance_size, 915 intptr_t instance_size,
916 Label* failure, 916 Label* failure,
917 bool near_jump, 917 bool near_jump,
918 Register instance, 918 Register instance,
919 Register end_address, 919 Register end_address,
920 Register temp); 920 Register temp);
921 921
922 // Debugging and bringup support. 922 // Debugging and bringup support.
923 void Stop(const char* message); 923 void Stop(const char* message);
924 void Unimplemented(const char* message);
925 void Untested(const char* message);
926 void Unreachable(const char* message);
927 924
928 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); 925 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length);
929 926
930 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); 927 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
931 static bool EmittingComments(); 928 static bool EmittingComments();
932 929
933 const Code::Comments& GetCodeComments() const; 930 const Code::Comments& GetCodeComments() const;
934 931
935 static const char* RegisterName(Register reg); 932 static const char* RegisterName(Register reg);
936 static const char* FpuRegisterName(FpuRegister reg); 933 static const char* FpuRegisterName(FpuRegister reg);
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 } 1046 }
1050 1047
1051 1048
1052 inline void Assembler::EmitOperandSizeOverride() { 1049 inline void Assembler::EmitOperandSizeOverride() {
1053 EmitUint8(0x66); 1050 EmitUint8(0x66);
1054 } 1051 }
1055 1052
1056 } // namespace dart 1053 } // namespace dart
1057 1054
1058 #endif // VM_ASSEMBLER_IA32_H_ 1055 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm64.h ('k') | runtime/vm/assembler_mips.h » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698