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

Side by Side Diff: runtime/vm/stub_code.h

Issue 24203004: Dart VM: Simplify code generation for equality operators. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased Created 7 years, 2 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
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698