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

Side by Side Diff: runtime/vm/assembler_mips.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_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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 void TryAllocateArray(intptr_t cid, 332 void TryAllocateArray(intptr_t cid,
333 intptr_t instance_size, 333 intptr_t instance_size,
334 Label* failure, 334 Label* failure,
335 Register instance, 335 Register instance,
336 Register end_address, 336 Register end_address,
337 Register temp1, 337 Register temp1,
338 Register temp2); 338 Register temp2);
339 339
340 // Debugging and bringup support. 340 // Debugging and bringup support.
341 void Stop(const char* message); 341 void Stop(const char* message);
342 void Unimplemented(const char* message);
343 void Untested(const char* message);
344 void Unreachable(const char* message);
345 342
346 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); 343 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length);
347 344
348 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); 345 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
349 static bool EmittingComments(); 346 static bool EmittingComments();
350 347
351 const Code::Comments& GetCodeComments() const; 348 const Code::Comments& GetCodeComments() const;
352 349
353 static const char* RegisterName(Register reg); 350 static const char* RegisterName(Register reg);
354 351
(...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1736 Register value, 1733 Register value,
1737 Label* no_update); 1734 Label* no_update);
1738 1735
1739 DISALLOW_ALLOCATION(); 1736 DISALLOW_ALLOCATION();
1740 DISALLOW_COPY_AND_ASSIGN(Assembler); 1737 DISALLOW_COPY_AND_ASSIGN(Assembler);
1741 }; 1738 };
1742 1739
1743 } // namespace dart 1740 } // namespace dart
1744 1741
1745 #endif // VM_ASSEMBLER_MIPS_H_ 1742 #endif // VM_ASSEMBLER_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698