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

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

Issue 351713002: Always inline Object.==. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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 | « no previous file | no next file » | 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) 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_INTERMEDIATE_LANGUAGE_H_ 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_
6 #define VM_INTERMEDIATE_LANGUAGE_H_ 6 #define VM_INTERMEDIATE_LANGUAGE_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 V(_Float32x4Array, [], Float32x4ArrayGetIndexed, 1466627059) \ 185 V(_Float32x4Array, [], Float32x4ArrayGetIndexed, 1466627059) \
186 V(_Float32x4Array, []=, Float32x4ArraySetIndexed, 2141660076) \ 186 V(_Float32x4Array, []=, Float32x4ArraySetIndexed, 2141660076) \
187 V(_Int32x4Array, [], Int32x4ArrayGetIndexed, 818792056) \ 187 V(_Int32x4Array, [], Int32x4ArrayGetIndexed, 818792056) \
188 V(_Int32x4Array, []=, Int32x4ArraySetIndexed, 1021474038) \ 188 V(_Int32x4Array, []=, Int32x4ArraySetIndexed, 1021474038) \
189 V(_Float64x2Array, [], Float64x2ArrayGetIndexed, 288114492) \ 189 V(_Float64x2Array, [], Float64x2ArrayGetIndexed, 288114492) \
190 V(_Float64x2Array, []=, Float64x2ArraySetIndexed, 941746736) \ 190 V(_Float64x2Array, []=, Float64x2ArraySetIndexed, 941746736) \
191 191
192 192
193 // A list of core function that should always be inlined. 193 // A list of core function that should always be inlined.
194 #define INLINE_WHITE_LIST(V) \ 194 #define INLINE_WHITE_LIST(V) \
195 V(Object, ==, ObjectEquals, 1068471689) \
195 V(_List, get:length, ObjectArrayLength, 1181352729) \ 196 V(_List, get:length, ObjectArrayLength, 1181352729) \
196 V(_ImmutableList, get:length, ImmutableArrayLength, 274917727) \ 197 V(_ImmutableList, get:length, ImmutableArrayLength, 274917727) \
197 V(_TypedList, get:length, TypedDataLength, 522565357) \ 198 V(_TypedList, get:length, TypedDataLength, 522565357) \
198 V(_GrowableList, get:length, GrowableArrayLength, 778505107) \ 199 V(_GrowableList, get:length, GrowableArrayLength, 778505107) \
199 V(_StringBase, get:length, StringBaseLength, 784399628) \ 200 V(_StringBase, get:length, StringBaseLength, 784399628) \
200 V(ListIterator, moveNext, ListIteratorMoveNext, 210829138) \ 201 V(ListIterator, moveNext, ListIteratorMoveNext, 210829138) \
201 V(_GrowableList, get:iterator, GrowableArrayIterator, 1812933946) \ 202 V(_GrowableList, get:iterator, GrowableArrayIterator, 1812933946) \
202 V(_GrowableList, forEach, GrowableArrayForEach, 2085943947) \ 203 V(_GrowableList, forEach, GrowableArrayForEach, 2085943947) \
203 V(_List, [], ObjectArrayGetIndexed, 795612476) \ 204 V(_List, [], ObjectArrayGetIndexed, 795612476) \
204 V(_List, []=, ObjectArraySetIndexed, 1288827575) \ 205 V(_List, []=, ObjectArraySetIndexed, 1288827575) \
(...skipping 7987 matching lines...) Expand 10 before | Expand all | Expand 10 after
8192 ForwardInstructionIterator* current_iterator_; 8193 ForwardInstructionIterator* current_iterator_;
8193 8194
8194 private: 8195 private:
8195 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 8196 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
8196 }; 8197 };
8197 8198
8198 8199
8199 } // namespace dart 8200 } // namespace dart
8200 8201
8201 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 8202 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698