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

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

Issue 17103002: Remove support for + prefix in number literals (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_builder.h ('k') | runtime/vm/intrinsifier.h » ('j') | 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 V(_TypedList, _setInt16, ByteArrayBaseSetInt16, 427754869) \ 53 V(_TypedList, _setInt16, ByteArrayBaseSetInt16, 427754869) \
54 V(_TypedList, _setUint16, ByteArrayBaseSetUint16, 427754869) \ 54 V(_TypedList, _setUint16, ByteArrayBaseSetUint16, 427754869) \
55 V(_TypedList, _setInt32, ByteArrayBaseSetInt32, 427754869) \ 55 V(_TypedList, _setInt32, ByteArrayBaseSetInt32, 427754869) \
56 V(_TypedList, _setUint32, ByteArrayBaseSetUint32, 427754869) \ 56 V(_TypedList, _setUint32, ByteArrayBaseSetUint32, 427754869) \
57 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, 637235443) \ 57 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, 637235443) \
58 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 637235443) \ 58 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 637235443) \
59 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 780994886) \ 59 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 780994886) \
60 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \ 60 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \
61 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \ 61 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \
62 V(_StringBase, get:length, StringBaseLength, 320803993) \ 62 V(_StringBase, get:length, StringBaseLength, 320803993) \
63 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 1026765313) \ 63 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 110631520) \
64 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 984449525) \ 64 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 984449525) \
65 V(_StringBase, [], StringBaseCharAt, 1062366987) \ 65 V(_StringBase, [], StringBaseCharAt, 1062366987) \
66 V(_OneByteString, _setAt, OneByteStringSetAt, 342452817) \ 66 V(_OneByteString, _setAt, OneByteStringSetAt, 342452817) \
67 V(_IntegerImplementation, toDouble, IntegerToDouble, 1267108971) \ 67 V(_IntegerImplementation, toDouble, IntegerToDouble, 1331752138) \
68 V(_Double, toInt, DoubleToInteger, 362666636) \ 68 V(_Double, toInt, DoubleToInteger, 362666636) \
69 V(_Double, truncateToDouble, DoubleTruncate, 620870996) \ 69 V(_Double, truncateToDouble, DoubleTruncate, 620870996) \
70 V(_Double, roundToDouble, DoubleRound, 620870996) \ 70 V(_Double, roundToDouble, DoubleRound, 620870996) \
71 V(_Double, floorToDouble, DoubleFloor, 620870996) \ 71 V(_Double, floorToDouble, DoubleFloor, 620870996) \
72 V(_Double, ceilToDouble, DoubleCeil, 620870996) \ 72 V(_Double, ceilToDouble, DoubleCeil, 620870996) \
73 V(_Double, pow, DoublePow, 631903778) \ 73 V(_Double, pow, DoublePow, 102305574) \
74 V(_Double, _modulo, DoubleMod, 437099337) \ 74 V(_Double, _modulo, DoubleMod, 437099337) \
75 V(::, sqrt, MathSqrt, 1662640002) \ 75 V(::, sqrt, MathSqrt, 1662640002) \
76 V(Float32x4, Float32x4., Float32x4Constructor, 1327837070) \ 76 V(Float32x4, Float32x4., Float32x4Constructor, 1492157358) \
77 V(Float32x4, Float32x4.zero, Float32x4Zero, 927169529) \ 77 V(Float32x4, Float32x4.zero, Float32x4Zero, 444339161) \
78 V(Float32x4, Float32x4.splat, Float32x4Splat, 1778587275) \ 78 V(Float32x4, Float32x4.splat, Float32x4Splat, 1843231403) \
79 V(_Float32x4, get:xxxx, Float32x4ShuffleXXXX, 42621627) \ 79 V(_Float32x4, get:xxxx, Float32x4ShuffleXXXX, 42621627) \
80 V(_Float32x4, get:yyyy, Float32x4ShuffleYYYY, 42621627) \ 80 V(_Float32x4, get:yyyy, Float32x4ShuffleYYYY, 42621627) \
81 V(_Float32x4, get:zzzz, Float32x4ShuffleZZZZ, 42621627) \ 81 V(_Float32x4, get:zzzz, Float32x4ShuffleZZZZ, 42621627) \
82 V(_Float32x4, get:wwww, Float32x4ShuffleWWWW, 42621627) \ 82 V(_Float32x4, get:wwww, Float32x4ShuffleWWWW, 42621627) \
83 V(_Float32x4, get:x, Float32x4ShuffleX, 211144022) \ 83 V(_Float32x4, get:x, Float32x4ShuffleX, 211144022) \
84 V(_Float32x4, get:y, Float32x4ShuffleY, 211144022) \ 84 V(_Float32x4, get:y, Float32x4ShuffleY, 211144022) \
85 V(_Float32x4, get:z, Float32x4ShuffleZ, 211144022) \ 85 V(_Float32x4, get:z, Float32x4ShuffleZ, 211144022) \
86 V(_Float32x4, get:w, Float32x4ShuffleW, 211144022) \ 86 V(_Float32x4, get:w, Float32x4ShuffleW, 211144022) \
87 V(_Float32x4, _cmpequal, Float32x4Equal, 548944488) \ 87 V(_Float32x4, _cmpequal, Float32x4Equal, 548944488) \
88 V(_Float32x4, _cmpgt, Float32x4GreaterThan, 548944488) \ 88 V(_Float32x4, _cmpgt, Float32x4GreaterThan, 548944488) \
89 V(_Float32x4, _cmpgte, Float32x4GreaterThanOrEqual, 548944488) \ 89 V(_Float32x4, _cmpgte, Float32x4GreaterThanOrEqual, 548944488) \
90 V(_Float32x4, _cmplt, Float32x4LessThan, 548944488) \ 90 V(_Float32x4, _cmplt, Float32x4LessThan, 548944488) \
91 V(_Float32x4, _cmplte, Float32x4LessThanOrEqual, 548944488) \ 91 V(_Float32x4, _cmplte, Float32x4LessThanOrEqual, 548944488) \
92 V(_Float32x4, _cmpnequal, Float32x4NotEqual, 548944488) \ 92 V(_Float32x4, _cmpnequal, Float32x4NotEqual, 548944488) \
93 V(_Float32x4, _min, Float32x4Min, 342800599) \ 93 V(_Float32x4, _min, Float32x4Min, 342800599) \
94 V(_Float32x4, _max, Float32x4Max, 342800599) \ 94 V(_Float32x4, _max, Float32x4Max, 342800599) \
95 V(_Float32x4, _scale, Float32x4Scale, 219466242) \ 95 V(_Float32x4, _scale, Float32x4Scale, 219466242) \
96 V(_Float32x4, _sqrt, Float32x4Sqrt, 42621627) \ 96 V(_Float32x4, _sqrt, Float32x4Sqrt, 42621627) \
97 V(_Float32x4, _reciprocalSqrt, Float32x4ReciprocalSqrt, 42621627) \ 97 V(_Float32x4, _reciprocalSqrt, Float32x4ReciprocalSqrt, 42621627) \
98 V(_Float32x4, _reciprocal, Float32x4Reciprocal, 42621627) \ 98 V(_Float32x4, _reciprocal, Float32x4Reciprocal, 42621627) \
99 V(_Float32x4, _negate, Float32x4Negate, 42621627) \ 99 V(_Float32x4, _negate, Float32x4Negate, 42621627) \
100 V(_Float32x4, _abs, Float32x4Absolute, 42621627) \ 100 V(_Float32x4, _abs, Float32x4Absolute, 42621627) \
101 V(_Float32x4, _clamp, Float32x4Clamp, 615895313) \ 101 V(_Float32x4, _clamp, Float32x4Clamp, 615895313) \
102 V(_Float32x4, withX, Float32x4WithX, 219466242) \ 102 V(_Float32x4, withX, Float32x4WithX, 219466242) \
103 V(_Float32x4, withY, Float32x4WithY, 219466242) \ 103 V(_Float32x4, withY, Float32x4WithY, 219466242) \
104 V(_Float32x4, withZ, Float32x4WithZ, 219466242) \ 104 V(_Float32x4, withZ, Float32x4WithZ, 219466242) \
105 V(_Float32x4, withW, Float32x4WithW, 219466242) \ 105 V(_Float32x4, withW, Float32x4WithW, 219466242) \
106 V(_Float32x4, _toUint32x4, Float32x4ToUint32x4, 1044409108) \ 106 V(_Float32x4, _toUint32x4, Float32x4ToUint32x4, 1044409108) \
107 V(Uint32x4, Uint32x4.bool, Uint32x4BoolConstructor, 1489869343) \ 107 V(Uint32x4, Uint32x4.bool, Uint32x4BoolConstructor, 487876159) \
108 V(_Uint32x4, get:flagX, Uint32x4GetFlagX, 782547529) \ 108 V(_Uint32x4, get:flagX, Uint32x4GetFlagX, 782547529) \
109 V(_Uint32x4, get:flagY, Uint32x4GetFlagY, 782547529) \ 109 V(_Uint32x4, get:flagY, Uint32x4GetFlagY, 782547529) \
110 V(_Uint32x4, get:flagZ, Uint32x4GetFlagZ, 782547529) \ 110 V(_Uint32x4, get:flagZ, Uint32x4GetFlagZ, 782547529) \
111 V(_Uint32x4, get:flagW, Uint32x4GetFlagW, 782547529) \ 111 V(_Uint32x4, get:flagW, Uint32x4GetFlagW, 782547529) \
112 V(_Uint32x4, select, Uint32x4Select, 405662786) \ 112 V(_Uint32x4, select, Uint32x4Select, 810336099) \
113 V(_Uint32x4, withFlagX, Uint32x4WithFlagX, 980864994) \ 113 V(_Uint32x4, withFlagX, Uint32x4WithFlagX, 980864994) \
114 V(_Uint32x4, withFlagY, Uint32x4WithFlagY, 980864994) \ 114 V(_Uint32x4, withFlagY, Uint32x4WithFlagY, 980864994) \
115 V(_Uint32x4, withFlagZ, Uint32x4WithFlagZ, 980864994) \ 115 V(_Uint32x4, withFlagZ, Uint32x4WithFlagZ, 980864994) \
116 V(_Uint32x4, withFlagW, Uint32x4WithFlagW, 980864994) \ 116 V(_Uint32x4, withFlagW, Uint32x4WithFlagW, 980864994) \
117 V(_Uint32x4, _toFloat32x4, Uint32x4ToUint32x4, 311564070) \ 117 V(_Uint32x4, _toFloat32x4, Uint32x4ToUint32x4, 311564070) \
118 118
119 119
120 // Class that recognizes the name and owner of a function and returns the 120 // Class that recognizes the name and owner of a function and returns the
121 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable 121 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable
122 // functions. 122 // functions.
(...skipping 6344 matching lines...) Expand 10 before | Expand all | Expand 10 after
6467 ForwardInstructionIterator* current_iterator_; 6467 ForwardInstructionIterator* current_iterator_;
6468 6468
6469 private: 6469 private:
6470 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 6470 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
6471 }; 6471 };
6472 6472
6473 6473
6474 } // namespace dart 6474 } // namespace dart
6475 6475
6476 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 6476 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.h ('k') | runtime/vm/intrinsifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698