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

Side by Side Diff: src/compiler/ia32/instruction-selector-ia32.cc

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/ia32/code-generator-ia32.cc ('k') | src/compiler/instruction.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 #include "src/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
11 namespace compiler { 11 namespace compiler {
12 12
13 // Adds IA32-specific methods for generating operands. 13 // Adds IA32-specific methods for generating operands.
14 class IA32OperandGenerator FINAL : public OperandGenerator { 14 class IA32OperandGenerator final : public OperandGenerator {
15 public: 15 public:
16 explicit IA32OperandGenerator(InstructionSelector* selector) 16 explicit IA32OperandGenerator(InstructionSelector* selector)
17 : OperandGenerator(selector) {} 17 : OperandGenerator(selector) {}
18 18
19 InstructionOperand UseByteRegister(Node* node) { 19 InstructionOperand UseByteRegister(Node* node) {
20 // TODO(titzer): encode byte register use constraints. 20 // TODO(titzer): encode byte register use constraints.
21 return UseFixed(node, edx); 21 return UseFixed(node, edx);
22 } 22 }
23 23
24 InstructionOperand DefineAsByteRegister(Node* node) { 24 InstructionOperand DefineAsByteRegister(Node* node) {
(...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 if (CpuFeatures::IsSupported(SSE4_1)) { 1236 if (CpuFeatures::IsSupported(SSE4_1)) {
1237 flags |= MachineOperatorBuilder::kFloat64RoundDown | 1237 flags |= MachineOperatorBuilder::kFloat64RoundDown |
1238 MachineOperatorBuilder::kFloat64RoundTruncate; 1238 MachineOperatorBuilder::kFloat64RoundTruncate;
1239 } 1239 }
1240 return flags; 1240 return flags;
1241 } 1241 }
1242 1242
1243 } // namespace compiler 1243 } // namespace compiler
1244 } // namespace internal 1244 } // namespace internal
1245 } // namespace v8 1245 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/code-generator-ia32.cc ('k') | src/compiler/instruction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698