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

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

Issue 17624010: Inline object constructor already in the method recognizer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « runtime/vm/flow_graph_optimizer.cc ('k') | 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 18 matching lines...) Expand all
29 class Instruction; 29 class Instruction;
30 class LocalVariable; 30 class LocalVariable;
31 class ParsedFunction; 31 class ParsedFunction;
32 class Range; 32 class Range;
33 33
34 34
35 // TODO(srdjan): Unify with INTRINSIC_LIST. 35 // TODO(srdjan): Unify with INTRINSIC_LIST.
36 // (class-name, function-name, recognized enum, fingerprint). 36 // (class-name, function-name, recognized enum, fingerprint).
37 // See intrinsifier for fingerprint computation. 37 // See intrinsifier for fingerprint computation.
38 #define RECOGNIZED_LIST(V) \ 38 #define RECOGNIZED_LIST(V) \
39 V(Object, Object., ObjectConstructor, 464682336) \
39 V(Object, get:_cid, ObjectCid, 732498573) \ 40 V(Object, get:_cid, ObjectCid, 732498573) \
40 V(_ObjectArray, get:length, ObjectArrayLength, 405297088) \ 41 V(_ObjectArray, get:length, ObjectArrayLength, 405297088) \
41 V(_ImmutableArray, get:length, ImmutableArrayLength, 433698233) \ 42 V(_ImmutableArray, get:length, ImmutableArrayLength, 433698233) \
42 V(_TypedList, get:length, TypedDataLength, 1004567191) \ 43 V(_TypedList, get:length, TypedDataLength, 1004567191) \
43 V(_TypedList, _getInt8, ByteArrayBaseGetInt8, 728842615) \ 44 V(_TypedList, _getInt8, ByteArrayBaseGetInt8, 728842615) \
44 V(_TypedList, _getUint8, ByteArrayBaseGetUint8, 728842615) \ 45 V(_TypedList, _getUint8, ByteArrayBaseGetUint8, 728842615) \
45 V(_TypedList, _getInt16, ByteArrayBaseGetInt16, 728842615) \ 46 V(_TypedList, _getInt16, ByteArrayBaseGetInt16, 728842615) \
46 V(_TypedList, _getUint16, ByteArrayBaseGetUint16, 728842615) \ 47 V(_TypedList, _getUint16, ByteArrayBaseGetUint16, 728842615) \
47 V(_TypedList, _getInt32, ByteArrayBaseGetInt32, 728842615) \ 48 V(_TypedList, _getInt32, ByteArrayBaseGetInt32, 728842615) \
48 V(_TypedList, _getUint32, ByteArrayBaseGetUint32, 728842615) \ 49 V(_TypedList, _getUint32, ByteArrayBaseGetUint32, 728842615) \
(...skipping 6440 matching lines...) Expand 10 before | Expand all | Expand 10 after
6489 ForwardInstructionIterator* current_iterator_; 6490 ForwardInstructionIterator* current_iterator_;
6490 6491
6491 private: 6492 private:
6492 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 6493 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
6493 }; 6494 };
6494 6495
6495 6496
6496 } // namespace dart 6497 } // namespace dart
6497 6498
6498 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 6499 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698