| OLD | NEW |
| 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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1042 void StoreIntoObjectNoBarrier(Register object, | 1042 void StoreIntoObjectNoBarrier(Register object, |
| 1043 const Address& dest, | 1043 const Address& dest, |
| 1044 const Object& value); | 1044 const Object& value); |
| 1045 | 1045 |
| 1046 void CallRuntime(const RuntimeEntry& entry); | 1046 void CallRuntime(const RuntimeEntry& entry); |
| 1047 | 1047 |
| 1048 // Set up a Dart frame on entry with a frame pointer and PC information to | 1048 // Set up a Dart frame on entry with a frame pointer and PC information to |
| 1049 // enable easy access to the RawInstruction object of code corresponding | 1049 // enable easy access to the RawInstruction object of code corresponding |
| 1050 // to this frame. | 1050 // to this frame. |
| 1051 void EnterDartFrame(intptr_t frame_size); | 1051 void EnterDartFrame(intptr_t frame_size); |
| 1052 void LeaveDartFrame(); |
| 1052 void LeaveDartFrameAndReturn(); | 1053 void LeaveDartFrameAndReturn(); |
| 1053 | 1054 |
| 1054 private: | 1055 private: |
| 1055 AssemblerBuffer buffer_; | 1056 AssemblerBuffer buffer_; |
| 1056 GrowableObjectArray& object_pool_; // Objects and patchable jump targets. | 1057 GrowableObjectArray& object_pool_; // Objects and patchable jump targets. |
| 1057 int prologue_offset_; | 1058 int prologue_offset_; |
| 1058 | 1059 |
| 1059 bool delay_slot_available_; | 1060 bool delay_slot_available_; |
| 1060 bool in_delay_slot_; | 1061 bool in_delay_slot_; |
| 1061 | 1062 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1223 Register value, | 1224 Register value, |
| 1224 Label* no_update); | 1225 Label* no_update); |
| 1225 | 1226 |
| 1226 DISALLOW_ALLOCATION(); | 1227 DISALLOW_ALLOCATION(); |
| 1227 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1228 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1228 }; | 1229 }; |
| 1229 | 1230 |
| 1230 } // namespace dart | 1231 } // namespace dart |
| 1231 | 1232 |
| 1232 #endif // VM_ASSEMBLER_MIPS_H_ | 1233 #endif // VM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |