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

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

Issue 18292003: Inline native setters for length and data in the optimizer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 V(_TypedList, _setUint8, ByteArrayBaseSetUint8, 427754869) \ 54 V(_TypedList, _setUint8, ByteArrayBaseSetUint8, 427754869) \
55 V(_TypedList, _setInt16, ByteArrayBaseSetInt16, 427754869) \ 55 V(_TypedList, _setInt16, ByteArrayBaseSetInt16, 427754869) \
56 V(_TypedList, _setUint16, ByteArrayBaseSetUint16, 427754869) \ 56 V(_TypedList, _setUint16, ByteArrayBaseSetUint16, 427754869) \
57 V(_TypedList, _setInt32, ByteArrayBaseSetInt32, 427754869) \ 57 V(_TypedList, _setInt32, ByteArrayBaseSetInt32, 427754869) \
58 V(_TypedList, _setUint32, ByteArrayBaseSetUint32, 427754869) \ 58 V(_TypedList, _setUint32, ByteArrayBaseSetUint32, 427754869) \
59 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, 637235443) \ 59 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, 637235443) \
60 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 637235443) \ 60 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 637235443) \
61 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 780994886) \ 61 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 780994886) \
62 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \ 62 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \
63 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \ 63 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \
64 V(_GrowableObjectArray, _setData, GrowableArraySetData, 629110947) \
65 V(_GrowableObjectArray, _setLength, GrowableArraySetLength, 796709584) \
64 V(_StringBase, get:length, StringBaseLength, 320803993) \ 66 V(_StringBase, get:length, StringBaseLength, 320803993) \
65 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 110631520) \ 67 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 110631520) \
66 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 984449525) \ 68 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 984449525) \
67 V(_StringBase, [], StringBaseCharAt, 1062366987) \ 69 V(_StringBase, [], StringBaseCharAt, 1062366987) \
68 V(_OneByteString, _setAt, OneByteStringSetAt, 342452817) \ 70 V(_OneByteString, _setAt, OneByteStringSetAt, 342452817) \
69 V(_IntegerImplementation, toDouble, IntegerToDouble, 1331752138) \ 71 V(_IntegerImplementation, toDouble, IntegerToDouble, 1331752138) \
70 V(_Double, toInt, DoubleToInteger, 362666636) \ 72 V(_Double, toInt, DoubleToInteger, 362666636) \
71 V(_Double, truncateToDouble, DoubleTruncate, 620870996) \ 73 V(_Double, truncateToDouble, DoubleTruncate, 620870996) \
72 V(_Double, roundToDouble, DoubleRound, 620870996) \ 74 V(_Double, roundToDouble, DoubleRound, 620870996) \
73 V(_Double, floorToDouble, DoubleFloor, 620870996) \ 75 V(_Double, floorToDouble, DoubleFloor, 620870996) \
(...skipping 6398 matching lines...) Expand 10 before | Expand all | Expand 10 after
6472 ForwardInstructionIterator* current_iterator_; 6474 ForwardInstructionIterator* current_iterator_;
6473 6475
6474 private: 6476 private:
6475 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 6477 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
6476 }; 6478 };
6477 6479
6478 6480
6479 } // namespace dart 6481 } // namespace dart
6480 6482
6481 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 6483 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« runtime/vm/flow_graph_optimizer.cc ('K') | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698