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

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

Issue 42443002: Improve string library performance. String concat and indexOf. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 49127618) \ 63 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 49127618) \
64 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 1261559935) \ 64 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 1261559935) \
65 V(_GrowableList, get:length, GrowableArrayLength, 1654225242) \ 65 V(_GrowableList, get:length, GrowableArrayLength, 1654225242) \
66 V(_GrowableList, get:_capacity, GrowableArrayCapacity, 817090003) \ 66 V(_GrowableList, get:_capacity, GrowableArrayCapacity, 817090003) \
67 V(_GrowableList, _setData, GrowableArraySetData, 1375509957) \ 67 V(_GrowableList, _setData, GrowableArraySetData, 1375509957) \
68 V(_GrowableList, _setLength, GrowableArraySetLength, 1227678442) \ 68 V(_GrowableList, _setLength, GrowableArraySetLength, 1227678442) \
69 V(_StringBase, get:length, StringBaseLength, 1483520063) \ 69 V(_StringBase, get:length, StringBaseLength, 1483520063) \
70 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 879849436) \ 70 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 879849436) \
71 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 1958436584) \ 71 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 1958436584) \
72 V(_StringBase, [], StringBaseCharAt, 990046076) \ 72 V(_StringBase, [], StringBaseCharAt, 990046076) \
73 V(_StringBase, _interpolate, StringBaseInterpolate, 908021574) \ 73 V(_StringBase, _interpolate, StringBaseInterpolate, 318319737) \
74 V(_OneByteString, _setAt, OneByteStringSetAt, 308408714) \ 74 V(_OneByteString, _setAt, OneByteStringSetAt, 308408714) \
75 V(_IntegerImplementation, toDouble, IntegerToDouble, 2011998508) \ 75 V(_IntegerImplementation, toDouble, IntegerToDouble, 2011998508) \
76 V(_IntegerImplementation, _leftShiftWithMask32, IntegerLeftShiftWithMask32, \ 76 V(_IntegerImplementation, _leftShiftWithMask32, IntegerLeftShiftWithMask32, \
77 2095943661) \ 77 2095943661) \
78 V(_Double, toInt, DoubleToInteger, 1328149975) \ 78 V(_Double, toInt, DoubleToInteger, 1328149975) \
79 V(_Double, truncateToDouble, DoubleTruncate, 615732263) \ 79 V(_Double, truncateToDouble, DoubleTruncate, 615732263) \
80 V(_Double, roundToDouble, DoubleRound, 622146406) \ 80 V(_Double, roundToDouble, DoubleRound, 622146406) \
81 V(_Double, floorToDouble, DoubleFloor, 1614014643) \ 81 V(_Double, floorToDouble, DoubleFloor, 1614014643) \
82 V(_Double, ceilToDouble, DoubleCeil, 277859570) \ 82 V(_Double, ceilToDouble, DoubleCeil, 277859570) \
83 V(_Double, _modulo, DoubleMod, 1443289156) \ 83 V(_Double, _modulo, DoubleMod, 1443289156) \
(...skipping 6817 matching lines...) Expand 10 before | Expand all | Expand 10 after
6901 ForwardInstructionIterator* current_iterator_; 6901 ForwardInstructionIterator* current_iterator_;
6902 6902
6903 private: 6903 private:
6904 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 6904 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
6905 }; 6905 };
6906 6906
6907 6907
6908 } // namespace dart 6908 } // namespace dart
6909 6909
6910 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 6910 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« runtime/lib/string_patch.dart ('K') | « runtime/vm/bootstrap_natives.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698