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

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

Issue 19774007: Collect both arguments for math's min/max static functions. Later that information will be used to … (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
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/object.cc » ('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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 V(_OneByteString, _setAt, OneByteStringSetAt, 1038132016) \ 70 V(_OneByteString, _setAt, OneByteStringSetAt, 1038132016) \
71 V(_IntegerImplementation, toDouble, IntegerToDouble, 1331752138) \ 71 V(_IntegerImplementation, toDouble, IntegerToDouble, 1331752138) \
72 V(_Double, toInt, DoubleToInteger, 630286253) \ 72 V(_Double, toInt, DoubleToInteger, 630286253) \
73 V(_Double, truncateToDouble, DoubleTruncate, 1804056693) \ 73 V(_Double, truncateToDouble, DoubleTruncate, 1804056693) \
74 V(_Double, roundToDouble, DoubleRound, 1804056693) \ 74 V(_Double, roundToDouble, DoubleRound, 1804056693) \
75 V(_Double, floorToDouble, DoubleFloor, 1804056693) \ 75 V(_Double, floorToDouble, DoubleFloor, 1804056693) \
76 V(_Double, ceilToDouble, DoubleCeil, 1804056693) \ 76 V(_Double, ceilToDouble, DoubleCeil, 1804056693) \
77 V(_Double, pow, DoublePow, 102305574) \ 77 V(_Double, pow, DoublePow, 102305574) \
78 V(_Double, _modulo, DoubleMod, 663439671) \ 78 V(_Double, _modulo, DoubleMod, 663439671) \
79 V(::, sqrt, MathSqrt, 1662640002) \ 79 V(::, sqrt, MathSqrt, 1662640002) \
80 V(::, min, MathMin, 269896129) \
81 V(::, max, MathMax, 1286442186) \
Florian Schneider 2013/07/19 09:21:40 Can you add 'identical' to the list of recognized
srdjan 2013/07/19 16:32:15 Done.
80 V(Float32x4, Float32x4., Float32x4Constructor, 1492157358) \ 82 V(Float32x4, Float32x4., Float32x4Constructor, 1492157358) \
81 V(Float32x4, Float32x4.zero, Float32x4Zero, 444339161) \ 83 V(Float32x4, Float32x4.zero, Float32x4Zero, 444339161) \
82 V(Float32x4, Float32x4.splat, Float32x4Splat, 1843231403) \ 84 V(Float32x4, Float32x4.splat, Float32x4Splat, 1843231403) \
83 V(_Float32x4, get:xxxx, Float32x4ShuffleXXXX, 42621627) \ 85 V(_Float32x4, get:xxxx, Float32x4ShuffleXXXX, 42621627) \
84 V(_Float32x4, get:yyyy, Float32x4ShuffleYYYY, 42621627) \ 86 V(_Float32x4, get:yyyy, Float32x4ShuffleYYYY, 42621627) \
85 V(_Float32x4, get:zzzz, Float32x4ShuffleZZZZ, 42621627) \ 87 V(_Float32x4, get:zzzz, Float32x4ShuffleZZZZ, 42621627) \
86 V(_Float32x4, get:wwww, Float32x4ShuffleWWWW, 42621627) \ 88 V(_Float32x4, get:wwww, Float32x4ShuffleWWWW, 42621627) \
87 V(_Float32x4, get:x, Float32x4ShuffleX, 211144022) \ 89 V(_Float32x4, get:x, Float32x4ShuffleX, 211144022) \
88 V(_Float32x4, get:y, Float32x4ShuffleY, 211144022) \ 90 V(_Float32x4, get:y, Float32x4ShuffleY, 211144022) \
89 V(_Float32x4, get:z, Float32x4ShuffleZ, 211144022) \ 91 V(_Float32x4, get:z, Float32x4ShuffleZ, 211144022) \
(...skipping 6425 matching lines...) Expand 10 before | Expand all | Expand 10 after
6515 ForwardInstructionIterator* current_iterator_; 6517 ForwardInstructionIterator* current_iterator_;
6516 6518
6517 private: 6519 private:
6518 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 6520 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
6519 }; 6521 };
6520 6522
6521 6523
6522 } // namespace dart 6524 } // namespace dart
6523 6525
6524 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 6526 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698