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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 555283004: [turbofan] Next step towards shared operators. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/machine-operator-unittest.cc ('k') | src/compiler/raw-machine-assembler.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_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
7 7
8 #ifdef USE_SIMULATOR 8 #ifdef USE_SIMULATOR
9 #define MACHINE_ASSEMBLER_SUPPORTS_CALL_C 0 9 #define MACHINE_ASSEMBLER_SUPPORTS_CALL_C 0
10 #else 10 #else
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 return NewNode(common()->Phi(type, 3), n1, n2, n3); 416 return NewNode(common()->Phi(type, 3), n1, n2, n3);
417 } 417 }
418 Node* Phi(MachineType type, Node* n1, Node* n2, Node* n3, Node* n4) { 418 Node* Phi(MachineType type, Node* n1, Node* n2, Node* n3, Node* n4) {
419 return NewNode(common()->Phi(type, 4), n1, n2, n3, n4); 419 return NewNode(common()->Phi(type, 4), n1, n2, n3, n4);
420 } 420 }
421 421
422 // MachineAssembler is invalid after export. 422 // MachineAssembler is invalid after export.
423 Schedule* Export(); 423 Schedule* Export();
424 424
425 protected: 425 protected:
426 virtual Node* MakeNode(Operator* op, int input_count, Node** inputs); 426 virtual Node* MakeNode(const Operator* op, int input_count,
427 Node** inputs) FINAL;
427 428
428 bool ScheduleValid() { return schedule_ != NULL; } 429 bool ScheduleValid() { return schedule_ != NULL; }
429 430
430 Schedule* schedule() { 431 Schedule* schedule() {
431 DCHECK(ScheduleValid()); 432 DCHECK(ScheduleValid());
432 return schedule_; 433 return schedule_;
433 } 434 }
434 435
435 private: 436 private:
436 BasicBlock* Use(Label* label); 437 BasicBlock* Use(Label* label);
(...skipping 10 matching lines...) Expand all
447 BasicBlock* current_block_; 448 BasicBlock* current_block_;
448 449
449 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); 450 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler);
450 }; 451 };
451 452
452 } // namespace compiler 453 } // namespace compiler
453 } // namespace internal 454 } // namespace internal
454 } // namespace v8 455 } // namespace v8
455 456
456 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 457 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/machine-operator-unittest.cc ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698