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

Side by Side Diff: src/compiler/instruction-selector.h

Issue 456333002: Move MachineRepresentation to machine-type.h and rename to MachineType in preparation for merging i… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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/ia32/linkage-ia32.cc ('k') | src/compiler/instruction-selector.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_INSTRUCTION_SELECTOR_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void MarkAsDouble(Node* node); 123 void MarkAsDouble(Node* node);
124 124
125 // Checks if {node} is marked as reference. 125 // Checks if {node} is marked as reference.
126 bool IsReference(const Node* node) const; 126 bool IsReference(const Node* node) const;
127 127
128 // Inform the register allocator of a reference result. 128 // Inform the register allocator of a reference result.
129 void MarkAsReference(Node* node); 129 void MarkAsReference(Node* node);
130 130
131 // Inform the register allocation of the representation of the value produced 131 // Inform the register allocation of the representation of the value produced
132 // by {node}. 132 // by {node}.
133 void MarkAsRepresentation(MachineRepresentation rep, Node* node); 133 void MarkAsRepresentation(MachineType rep, Node* node);
134 134
135 // Initialize the call buffer with the InstructionOperands, nodes, etc, 135 // Initialize the call buffer with the InstructionOperands, nodes, etc,
136 // corresponding 136 // corresponding
137 // to the inputs and outputs of the call. 137 // to the inputs and outputs of the call.
138 // {call_code_immediate} to generate immediate operands to calls of code. 138 // {call_code_immediate} to generate immediate operands to calls of code.
139 // {call_address_immediate} to generate immediate operands to address calls. 139 // {call_address_immediate} to generate immediate operands to address calls.
140 void InitializeCallBuffer(Node* call, CallBuffer* buffer, 140 void InitializeCallBuffer(Node* call, CallBuffer* buffer,
141 bool call_code_immediate, 141 bool call_code_immediate,
142 bool call_address_immediate, BasicBlock* cont_node, 142 bool call_address_immediate, BasicBlock* cont_node,
143 BasicBlock* deopt_node); 143 BasicBlock* deopt_node);
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 Instructions instructions_; 203 Instructions instructions_;
204 BoolVector defined_; 204 BoolVector defined_;
205 BoolVector used_; 205 BoolVector used_;
206 }; 206 };
207 207
208 } // namespace compiler 208 } // namespace compiler
209 } // namespace internal 209 } // namespace internal
210 } // namespace v8 210 } // namespace v8
211 211
212 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 212 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/linkage-ia32.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698