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

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

Issue 543743002: Remove deprecated PrintableUnique. (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/operator.h ('k') | src/compiler/simplified-operator-reducer.h » ('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 #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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 Isolate* isolate() const { return zone()->isolate(); } 52 Isolate* isolate() const { return zone()->isolate(); }
53 Zone* zone() const { return graph()->zone(); } 53 Zone* zone() const { return graph()->zone(); }
54 MachineOperatorBuilder* machine() { return &machine_; } 54 MachineOperatorBuilder* machine() { return &machine_; }
55 CommonOperatorBuilder* common() { return &common_; } 55 CommonOperatorBuilder* common() { return &common_; }
56 CallDescriptor* call_descriptor() const { return call_descriptor_; } 56 CallDescriptor* call_descriptor() const { return call_descriptor_; }
57 size_t parameter_count() const { return machine_sig_->parameter_count(); } 57 size_t parameter_count() const { return machine_sig_->parameter_count(); }
58 MachineSignature* machine_sig() const { return machine_sig_; } 58 MachineSignature* machine_sig() const { return machine_sig_; }
59 59
60 Node* UndefinedConstant() { 60 Node* UndefinedConstant() {
61 PrintableUnique<Object> unique = PrintableUnique<Object>::CreateImmovable( 61 Unique<Object> unique = Unique<Object>::CreateImmovable(
62 zone(), isolate()->factory()->undefined_value()); 62 isolate()->factory()->undefined_value());
63 return NewNode(common()->HeapConstant(unique)); 63 return NewNode(common()->HeapConstant(unique));
64 } 64 }
65 65
66 // Parameters. 66 // Parameters.
67 Node* Parameter(size_t index); 67 Node* Parameter(size_t index);
68 68
69 // Control flow. 69 // Control flow.
70 Label* Exit(); 70 Label* Exit();
71 void Goto(Label* label); 71 void Goto(Label* label);
72 void Branch(Node* condition, Label* true_val, Label* false_val); 72 void Branch(Node* condition, Label* true_val, Label* false_val);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 BasicBlock* current_block_; 120 BasicBlock* current_block_;
121 121
122 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); 122 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler);
123 }; 123 };
124 124
125 } // namespace compiler 125 } // namespace compiler
126 } // namespace internal 126 } // namespace internal
127 } // namespace v8 127 } // namespace v8
128 128
129 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 129 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/operator.h ('k') | src/compiler/simplified-operator-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698