| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 } | 554 } |
| 555 | 555 |
| 556 // Debugging and bringup support. | 556 // Debugging and bringup support. |
| 557 void Stop(const char* message); | 557 void Stop(const char* message); |
| 558 void Unimplemented(const char* message); | 558 void Unimplemented(const char* message); |
| 559 void Untested(const char* message); | 559 void Untested(const char* message); |
| 560 void Unreachable(const char* message); | 560 void Unreachable(const char* message); |
| 561 | 561 |
| 562 static void InitializeMemoryWithBreakpoints(uword data, int length); | 562 static void InitializeMemoryWithBreakpoints(uword data, int length); |
| 563 | 563 |
| 564 void Comment(const char* comment); | 564 void Comment(const char* format, ...); |
| 565 const Code::Comments& GetCodeComments() const; | 565 const Code::Comments& GetCodeComments() const; |
| 566 | 566 |
| 567 private: | 567 private: |
| 568 AssemblerBuffer buffer_; | 568 AssemblerBuffer buffer_; |
| 569 int prolog_offset_; | 569 int prolog_offset_; |
| 570 | 570 |
| 571 class CodeComment : public ZoneAllocated { | 571 class CodeComment : public ZoneAllocated { |
| 572 public: | 572 public: |
| 573 CodeComment(intptr_t pc_offset, const String& comment) | 573 CodeComment(intptr_t pc_offset, const String& comment) |
| 574 : pc_offset_(pc_offset), comment_(comment) { } | 574 : pc_offset_(pc_offset), comment_(comment) { } |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 } | 633 } |
| 634 | 634 |
| 635 | 635 |
| 636 inline void Assembler::EmitOperandSizeOverride() { | 636 inline void Assembler::EmitOperandSizeOverride() { |
| 637 EmitUint8(0x66); | 637 EmitUint8(0x66); |
| 638 } | 638 } |
| 639 | 639 |
| 640 } // namespace dart | 640 } // namespace dart |
| 641 | 641 |
| 642 #endif // VM_ASSEMBLER_IA32_H_ | 642 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |