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

Side by Side Diff: runtime/vm/assembler_arm.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_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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 330
331 // Debugging and bringup support. 331 // Debugging and bringup support.
332 void Stop(const char* message); 332 void Stop(const char* message);
333 void Unimplemented(const char* message); 333 void Unimplemented(const char* message);
334 void Untested(const char* message); 334 void Untested(const char* message);
335 void Unreachable(const char* message); 335 void Unreachable(const char* message);
336 336
337 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); 337 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length);
338 338
339 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); 339 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
340 static bool EmittingComments();
340 341
341 const Code::Comments& GetCodeComments() const; 342 const Code::Comments& GetCodeComments() const;
342 343
343 static const char* RegisterName(Register reg); 344 static const char* RegisterName(Register reg);
344 345
345 static const char* FpuRegisterName(FpuRegister reg); 346 static const char* FpuRegisterName(FpuRegister reg);
346 347
347 // Data-processing instructions. 348 // Data-processing instructions.
348 void and_(Register rd, Register rn, Operand o, Condition cond = AL); 349 void and_(Register rd, Register rn, Operand o, Condition cond = AL);
349 350
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 Register value, 955 Register value,
955 Label* no_update); 956 Label* no_update);
956 957
957 DISALLOW_ALLOCATION(); 958 DISALLOW_ALLOCATION();
958 DISALLOW_COPY_AND_ASSIGN(Assembler); 959 DISALLOW_COPY_AND_ASSIGN(Assembler);
959 }; 960 };
960 961
961 } // namespace dart 962 } // namespace dart
962 963
963 #endif // VM_ASSEMBLER_ARM_H_ 964 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698