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

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

Issue 644083003: [turbofan] Reduce memory consumption of graph building (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add missing arraysize Created 6 years, 2 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
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 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 return NewNode(common()->Phi(type, 3), n1, n2, n3); 409 return NewNode(common()->Phi(type, 3), n1, n2, n3);
410 } 410 }
411 Node* Phi(MachineType type, Node* n1, Node* n2, Node* n3, Node* n4) { 411 Node* Phi(MachineType type, Node* n1, Node* n2, Node* n3, Node* n4) {
412 return NewNode(common()->Phi(type, 4), n1, n2, n3, n4); 412 return NewNode(common()->Phi(type, 4), n1, n2, n3, n4);
413 } 413 }
414 414
415 // MachineAssembler is invalid after export. 415 // MachineAssembler is invalid after export.
416 Schedule* Export(); 416 Schedule* Export();
417 417
418 protected: 418 protected:
419 virtual Node* MakeNode(const Operator* op, int input_count, 419 virtual Node* MakeNode(const Operator* op, int input_count, Node** inputs,
420 Node** inputs) FINAL; 420 bool incomplete) FINAL;
421 421
422 bool ScheduleValid() { return schedule_ != NULL; } 422 bool ScheduleValid() { return schedule_ != NULL; }
423 423
424 Schedule* schedule() { 424 Schedule* schedule() {
425 DCHECK(ScheduleValid()); 425 DCHECK(ScheduleValid());
426 return schedule_; 426 return schedule_;
427 } 427 }
428 428
429 private: 429 private:
430 BasicBlock* Use(Label* label); 430 BasicBlock* Use(Label* label);
(...skipping 10 matching lines...) Expand all
441 BasicBlock* current_block_; 441 BasicBlock* current_block_;
442 442
443 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); 443 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler);
444 }; 444 };
445 445
446 } // namespace compiler 446 } // namespace compiler
447 } // namespace internal 447 } // namespace internal
448 } // namespace v8 448 } // namespace v8
449 449
450 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 450 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698