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

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

Issue 22640019: Fix for running with --throw_on_javascript_int_overflow: recognize pattern (a << b) & mask and test… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \ 65 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \
66 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \ 66 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \
67 V(_GrowableObjectArray, _setData, GrowableArraySetData, 588108129) \ 67 V(_GrowableObjectArray, _setData, GrowableArraySetData, 588108129) \
68 V(_GrowableObjectArray, _setLength, GrowableArraySetLength, 279007375) \ 68 V(_GrowableObjectArray, _setLength, GrowableArraySetLength, 279007375) \
69 V(_StringBase, get:length, StringBaseLength, 320803993) \ 69 V(_StringBase, get:length, StringBaseLength, 320803993) \
70 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 110631520) \ 70 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 110631520) \
71 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 1574843871) \ 71 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 1574843871) \
72 V(_StringBase, [], StringBaseCharAt, 2105190389) \ 72 V(_StringBase, [], StringBaseCharAt, 2105190389) \
73 V(_OneByteString, _setAt, OneByteStringSetAt, 1038132016) \ 73 V(_OneByteString, _setAt, OneByteStringSetAt, 1038132016) \
74 V(_IntegerImplementation, toDouble, IntegerToDouble, 1331752138) \ 74 V(_IntegerImplementation, toDouble, IntegerToDouble, 1331752138) \
75 V(_IntegerImplementation, _leftShiftWithMask32, IntegerLeftShiftWithMask32, \
76 1277584286) \
75 V(_Double, toInt, DoubleToInteger, 630286253) \ 77 V(_Double, toInt, DoubleToInteger, 630286253) \
76 V(_Double, truncateToDouble, DoubleTruncate, 1804056693) \ 78 V(_Double, truncateToDouble, DoubleTruncate, 1804056693) \
77 V(_Double, roundToDouble, DoubleRound, 1804056693) \ 79 V(_Double, roundToDouble, DoubleRound, 1804056693) \
78 V(_Double, floorToDouble, DoubleFloor, 1804056693) \ 80 V(_Double, floorToDouble, DoubleFloor, 1804056693) \
79 V(_Double, ceilToDouble, DoubleCeil, 1804056693) \ 81 V(_Double, ceilToDouble, DoubleCeil, 1804056693) \
80 V(_Double, pow, DoublePow, 102305574) \ 82 V(_Double, pow, DoublePow, 102305574) \
81 V(_Double, _modulo, DoubleMod, 663439671) \ 83 V(_Double, _modulo, DoubleMod, 663439671) \
82 V(::, sqrt, MathSqrt, 1662640002) \ 84 V(::, sqrt, MathSqrt, 1662640002) \
83 V(::, sin, MathSin, 1273932041) \ 85 V(::, sin, MathSin, 1273932041) \
84 V(::, cos, MathCos, 1749547468) \ 86 V(::, cos, MathCos, 1749547468) \
(...skipping 6534 matching lines...) Expand 10 before | Expand all | Expand 10 after
6619 ForwardInstructionIterator* current_iterator_; 6621 ForwardInstructionIterator* current_iterator_;
6620 6622
6621 private: 6623 private:
6622 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 6624 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
6623 }; 6625 };
6624 6626
6625 6627
6626 } // namespace dart 6628 } // namespace dart
6627 6629
6628 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 6630 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« runtime/vm/ast.h ('K') | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698