| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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_STUB_CODE_H_ | 5 #ifndef VM_STUB_CODE_H_ |
| 6 #define VM_STUB_CODE_H_ | 6 #define VM_STUB_CODE_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 #define STUB_CODE_LIST(V) \ | 52 #define STUB_CODE_LIST(V) \ |
| 53 V(AllocateContext) \ | 53 V(AllocateContext) \ |
| 54 V(UpdateStoreBuffer) \ | 54 V(UpdateStoreBuffer) \ |
| 55 V(OneArgCheckInlineCache) \ | 55 V(OneArgCheckInlineCache) \ |
| 56 V(TwoArgsCheckInlineCache) \ | 56 V(TwoArgsCheckInlineCache) \ |
| 57 V(ThreeArgsCheckInlineCache) \ | 57 V(ThreeArgsCheckInlineCache) \ |
| 58 V(OneArgOptimizedCheckInlineCache) \ | 58 V(OneArgOptimizedCheckInlineCache) \ |
| 59 V(TwoArgsOptimizedCheckInlineCache) \ | 59 V(TwoArgsOptimizedCheckInlineCache) \ |
| 60 V(ThreeArgsOptimizedCheckInlineCache) \ | 60 V(ThreeArgsOptimizedCheckInlineCache) \ |
| 61 V(ClosureCallInlineCache) \ | 61 V(ClosureCallInlineCache) \ |
| 62 V(MegamorphicCall) \ | |
| 63 V(ZeroArgsUnoptimizedStaticCall) \ | 62 V(ZeroArgsUnoptimizedStaticCall) \ |
| 64 V(TwoArgsUnoptimizedStaticCall) \ | 63 V(TwoArgsUnoptimizedStaticCall) \ |
| 65 V(OptimizeFunction) \ | 64 V(OptimizeFunction) \ |
| 66 V(InvokeDartCode) \ | 65 V(InvokeDartCode) \ |
| 67 | 66 |
| 68 // class StubEntry is used to describe stub methods generated in dart to | 67 // class StubEntry is used to describe stub methods generated in dart to |
| 69 // abstract out common code executed from generated dart code. | 68 // abstract out common code executed from generated dart code. |
| 70 class StubEntry { | 69 class StubEntry { |
| 71 public: | 70 public: |
| 72 StubEntry(const char* name, const Code& code); | 71 StubEntry(const char* name, const Code& code); |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 Assembler* assembler, | 201 Assembler* assembler, |
| 203 const Register left, | 202 const Register left, |
| 204 const Register right, | 203 const Register right, |
| 205 const Register temp1 = kNoRegister, | 204 const Register temp1 = kNoRegister, |
| 206 const Register temp2 = kNoRegister); | 205 const Register temp2 = kNoRegister); |
| 207 }; | 206 }; |
| 208 | 207 |
| 209 } // namespace dart | 208 } // namespace dart |
| 210 | 209 |
| 211 #endif // VM_STUB_CODE_H_ | 210 #endif // VM_STUB_CODE_H_ |
| OLD | NEW |