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

Side by Side Diff: src/compiler/code-assembler.h

Issue 2327703003: [builtins] Migrate ToNumber to TurboFan. (Closed)
Patch Set: Rebase Created 4 years, 3 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
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/interpreter/interpreter.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 V(ChangeFloat32ToFloat64) \ 141 V(ChangeFloat32ToFloat64) \
142 V(ChangeFloat64ToUint32) \ 142 V(ChangeFloat64ToUint32) \
143 V(ChangeInt32ToFloat64) \ 143 V(ChangeInt32ToFloat64) \
144 V(ChangeInt32ToInt64) \ 144 V(ChangeInt32ToInt64) \
145 V(ChangeUint32ToFloat64) \ 145 V(ChangeUint32ToFloat64) \
146 V(ChangeUint32ToUint64) \ 146 V(ChangeUint32ToUint64) \
147 V(RoundFloat64ToInt32) \ 147 V(RoundFloat64ToInt32) \
148 V(Float64RoundDown) \ 148 V(Float64RoundDown) \
149 V(Float64RoundUp) \ 149 V(Float64RoundUp) \
150 V(Float64RoundTruncate) \ 150 V(Float64RoundTruncate) \
151 V(Word32Clz) 151 V(Word32Clz) \
152 V(Word32BinaryNot)
152 153
153 // A "public" interface used by components outside of compiler directory to 154 // A "public" interface used by components outside of compiler directory to
154 // create code objects with TurboFan's backend. This class is mostly a thin shim 155 // create code objects with TurboFan's backend. This class is mostly a thin shim
155 // around the RawMachineAssembler, and its primary job is to ensure that the 156 // around the RawMachineAssembler, and its primary job is to ensure that the
156 // innards of the RawMachineAssembler and other compiler implementation details 157 // innards of the RawMachineAssembler and other compiler implementation details
157 // don't leak outside of the the compiler directory.. 158 // don't leak outside of the the compiler directory..
158 // 159 //
159 // V8 components that need to generate low-level code using this interface 160 // V8 components that need to generate low-level code using this interface
160 // should include this header--and this header only--from the compiler directory 161 // should include this header--and this header only--from the compiler directory
161 // (this is actually enforced). Since all interesting data structures are 162 // (this is actually enforced). Since all interesting data structures are
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 // Map of variables to the list of value nodes that have been added from each 487 // Map of variables to the list of value nodes that have been added from each
487 // merge path in their order of merging. 488 // merge path in their order of merging.
488 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 489 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
489 }; 490 };
490 491
491 } // namespace compiler 492 } // namespace compiler
492 } // namespace internal 493 } // namespace internal
493 } // namespace v8 494 } // namespace v8
494 495
495 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 496 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698