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

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

Issue 2550683003: [stubs] Cleanup usages of CSA::Select(). (Closed)
Patch Set: Created 4 years 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
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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 245
246 void Bind(Label* label); 246 void Bind(Label* label);
247 void Goto(Label* label); 247 void Goto(Label* label);
248 void GotoIf(Node* condition, Label* true_label); 248 void GotoIf(Node* condition, Label* true_label);
249 void GotoUnless(Node* condition, Label* false_label); 249 void GotoUnless(Node* condition, Label* false_label);
250 void Branch(Node* condition, Label* true_label, Label* false_label); 250 void Branch(Node* condition, Label* true_label, Label* false_label);
251 251
252 void Switch(Node* index, Label* default_label, const int32_t* case_values, 252 void Switch(Node* index, Label* default_label, const int32_t* case_values,
253 Label** case_labels, size_t case_count); 253 Label** case_labels, size_t case_count);
254 254
255 Node* Select(Node* condition, Node* true_value, Node* false_value,
256 MachineRepresentation rep = MachineRepresentation::kTagged);
257
258 // Access to the frame pointer 255 // Access to the frame pointer
259 Node* LoadFramePointer(); 256 Node* LoadFramePointer();
260 Node* LoadParentFramePointer(); 257 Node* LoadParentFramePointer();
261 258
262 // Access to the stack pointer 259 // Access to the stack pointer
263 Node* LoadStackPointer(); 260 Node* LoadStackPointer();
264 261
265 // Load raw memory location. 262 // Load raw memory location.
266 Node* Load(MachineType rep, Node* base); 263 Node* Load(MachineType rep, Node* base);
267 Node* Load(MachineType rep, Node* base, Node* offset); 264 Node* Load(MachineType rep, Node* base, Node* offset);
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 ZoneSet<CodeAssembler::Variable::Impl*> variables_; 546 ZoneSet<CodeAssembler::Variable::Impl*> variables_;
550 547
551 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); 548 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState);
552 }; 549 };
553 550
554 } // namespace compiler 551 } // namespace compiler
555 } // namespace internal 552 } // namespace internal
556 } // namespace v8 553 } // namespace v8
557 554
558 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 555 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698