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

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

Issue 2056503003: [turbofan] Add comments to CodeAssembler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove extraneous change Created 4 years, 6 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
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.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_INSTRUCTION_SELECTOR_IMPL_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_
7 7
8 #include "src/compiler/instruction.h" 8 #include "src/compiler/instruction.h"
9 #include "src/compiler/instruction-selector.h" 9 #include "src/compiler/instruction-selector.h"
10 #include "src/compiler/linkage.h" 10 #include "src/compiler/linkage.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 return Constant(OpParameter<int64_t>(node)); 212 return Constant(OpParameter<int64_t>(node));
213 case IrOpcode::kFloat32Constant: 213 case IrOpcode::kFloat32Constant:
214 return Constant(OpParameter<float>(node)); 214 return Constant(OpParameter<float>(node));
215 case IrOpcode::kRelocatableInt32Constant: 215 case IrOpcode::kRelocatableInt32Constant:
216 case IrOpcode::kRelocatableInt64Constant: 216 case IrOpcode::kRelocatableInt64Constant:
217 return Constant(OpParameter<RelocatablePtrConstantInfo>(node)); 217 return Constant(OpParameter<RelocatablePtrConstantInfo>(node));
218 case IrOpcode::kFloat64Constant: 218 case IrOpcode::kFloat64Constant:
219 case IrOpcode::kNumberConstant: 219 case IrOpcode::kNumberConstant:
220 return Constant(OpParameter<double>(node)); 220 return Constant(OpParameter<double>(node));
221 case IrOpcode::kExternalConstant: 221 case IrOpcode::kExternalConstant:
222 case IrOpcode::kComment:
222 return Constant(OpParameter<ExternalReference>(node)); 223 return Constant(OpParameter<ExternalReference>(node));
223 case IrOpcode::kHeapConstant: 224 case IrOpcode::kHeapConstant:
224 return Constant(OpParameter<Handle<HeapObject>>(node)); 225 return Constant(OpParameter<Handle<HeapObject>>(node));
225 default: 226 default:
226 break; 227 break;
227 } 228 }
228 UNREACHABLE(); 229 UNREACHABLE();
229 return Constant(static_cast<int32_t>(0)); 230 return Constant(static_cast<int32_t>(0));
230 } 231 }
231 232
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 // or mode_ == kFlags_set. 384 // or mode_ == kFlags_set.
384 BasicBlock* true_block_; // Only valid if mode_ == kFlags_branch. 385 BasicBlock* true_block_; // Only valid if mode_ == kFlags_branch.
385 BasicBlock* false_block_; // Only valid if mode_ == kFlags_branch. 386 BasicBlock* false_block_; // Only valid if mode_ == kFlags_branch.
386 }; 387 };
387 388
388 } // namespace compiler 389 } // namespace compiler
389 } // namespace internal 390 } // namespace internal
390 } // namespace v8 391 } // namespace v8
391 392
392 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ 393 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698