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

Side by Side Diff: test/cctest/compiler/simplified-graph-builder.h

Issue 1164743002: [turbofan] Enable typed lowering of string addition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix tests. Created 5 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
« no previous file with comments | « src/compiler/verifier.cc ('k') | test/cctest/compiler/test-simplified-lowering.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_ 5 #ifndef V8_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_
6 #define V8_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_ 6 #define V8_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph-builder.h" 9 #include "src/compiler/graph-builder.h"
10 #include "src/compiler/machine-operator.h" 10 #include "src/compiler/machine-operator.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 Node* StringEqual(Node* a, Node* b) { 86 Node* StringEqual(Node* a, Node* b) {
87 return NewNode(simplified()->StringEqual(), a, b); 87 return NewNode(simplified()->StringEqual(), a, b);
88 } 88 }
89 Node* StringLessThan(Node* a, Node* b) { 89 Node* StringLessThan(Node* a, Node* b) {
90 return NewNode(simplified()->StringLessThan(), a, b); 90 return NewNode(simplified()->StringLessThan(), a, b);
91 } 91 }
92 Node* StringLessThanOrEqual(Node* a, Node* b) { 92 Node* StringLessThanOrEqual(Node* a, Node* b) {
93 return NewNode(simplified()->StringLessThanOrEqual(), a, b); 93 return NewNode(simplified()->StringLessThanOrEqual(), a, b);
94 } 94 }
95 Node* StringAdd(Node* a, Node* b) {
96 return NewNode(simplified()->StringAdd(), a, b);
97 }
98 95
99 Node* ChangeTaggedToInt32(Node* a) { 96 Node* ChangeTaggedToInt32(Node* a) {
100 return NewNode(simplified()->ChangeTaggedToInt32(), a); 97 return NewNode(simplified()->ChangeTaggedToInt32(), a);
101 } 98 }
102 Node* ChangeTaggedToUint32(Node* a) { 99 Node* ChangeTaggedToUint32(Node* a) {
103 return NewNode(simplified()->ChangeTaggedToUint32(), a); 100 return NewNode(simplified()->ChangeTaggedToUint32(), a);
104 } 101 }
105 Node* ChangeTaggedToFloat64(Node* a) { 102 Node* ChangeTaggedToFloat64(Node* a) {
106 return NewNode(simplified()->ChangeTaggedToFloat64(), a); 103 return NewNode(simplified()->ChangeTaggedToFloat64(), a);
107 } 104 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 CommonOperatorBuilder* common_; 142 CommonOperatorBuilder* common_;
146 MachineOperatorBuilder* machine_; 143 MachineOperatorBuilder* machine_;
147 SimplifiedOperatorBuilder* simplified_; 144 SimplifiedOperatorBuilder* simplified_;
148 }; 145 };
149 146
150 } // namespace compiler 147 } // namespace compiler
151 } // namespace internal 148 } // namespace internal
152 } // namespace v8 149 } // namespace v8
153 150
154 #endif // V8_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_ 151 #endif // V8_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler/verifier.cc ('k') | test/cctest/compiler/test-simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698