| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 V(ThreeArgsCheckInlineCache) \ | 60 V(ThreeArgsCheckInlineCache) \ |
| 61 V(OneArgOptimizedCheckInlineCache) \ | 61 V(OneArgOptimizedCheckInlineCache) \ |
| 62 V(TwoArgsOptimizedCheckInlineCache) \ | 62 V(TwoArgsOptimizedCheckInlineCache) \ |
| 63 V(ThreeArgsOptimizedCheckInlineCache) \ | 63 V(ThreeArgsOptimizedCheckInlineCache) \ |
| 64 V(ClosureCallInlineCache) \ | 64 V(ClosureCallInlineCache) \ |
| 65 V(MegamorphicCall) \ | 65 V(MegamorphicCall) \ |
| 66 V(ZeroArgsUnoptimizedStaticCall) \ | 66 V(ZeroArgsUnoptimizedStaticCall) \ |
| 67 V(TwoArgsUnoptimizedStaticCall) \ | 67 V(TwoArgsUnoptimizedStaticCall) \ |
| 68 V(OptimizeFunction) \ | 68 V(OptimizeFunction) \ |
| 69 V(BreakpointDynamic) \ | 69 V(BreakpointDynamic) \ |
| 70 V(EqualityWithNullArg) \ | |
| 71 | 70 |
| 72 // class StubEntry is used to describe stub methods generated in dart to | 71 // class StubEntry is used to describe stub methods generated in dart to |
| 73 // abstract out common code executed from generated dart code. | 72 // abstract out common code executed from generated dart code. |
| 74 class StubEntry { | 73 class StubEntry { |
| 75 public: | 74 public: |
| 76 StubEntry(const char* name, const Code& code); | 75 StubEntry(const char* name, const Code& code); |
| 77 ~StubEntry() {} | 76 ~StubEntry() {} |
| 78 | 77 |
| 79 const ExternalLabel& label() const { return label_; } | 78 const ExternalLabel& label() const { return label_; } |
| 80 uword EntryPoint() const { return entry_point_; } | 79 uword EntryPoint() const { return entry_point_; } |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 Assembler* assembler, | 207 Assembler* assembler, |
| 209 const Register left, | 208 const Register left, |
| 210 const Register right, | 209 const Register right, |
| 211 const Register temp1 = kNoRegister, | 210 const Register temp1 = kNoRegister, |
| 212 const Register temp2 = kNoRegister); | 211 const Register temp2 = kNoRegister); |
| 213 }; | 212 }; |
| 214 | 213 |
| 215 } // namespace dart | 214 } // namespace dart |
| 216 | 215 |
| 217 #endif // VM_STUB_CODE_H_ | 216 #endif // VM_STUB_CODE_H_ |
| OLD | NEW |