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

Side by Side Diff: src/compiler/code-generator.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/code-generator.h ('k') | src/compiler/common-node-cache.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/linkage.h" 8 #include "src/compiler/linkage.h"
9 #include "src/compiler/pipeline.h" 9 #include "src/compiler/pipeline.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 namespace compiler { 13 namespace compiler {
14 14
15 class CodeGenerator::JumpTable FINAL : public ZoneObject { 15 class CodeGenerator::JumpTable final : public ZoneObject {
16 public: 16 public:
17 JumpTable(JumpTable* next, Label** targets, size_t target_count) 17 JumpTable(JumpTable* next, Label** targets, size_t target_count)
18 : next_(next), targets_(targets), target_count_(target_count) {} 18 : next_(next), targets_(targets), target_count_(target_count) {}
19 19
20 Label* label() { return &label_; } 20 Label* label() { return &label_; }
21 JumpTable* next() const { return next_; } 21 JumpTable* next() const { return next_; }
22 Label** targets() const { return targets_; } 22 Label** targets() const { return targets_; }
23 size_t target_count() const { return target_count_; } 23 size_t target_count() const { return target_count_; }
24 24
25 private: 25 private:
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 : masm_(gen->masm()), next_(gen->ools_) { 660 : masm_(gen->masm()), next_(gen->ools_) {
661 gen->ools_ = this; 661 gen->ools_ = this;
662 } 662 }
663 663
664 664
665 OutOfLineCode::~OutOfLineCode() {} 665 OutOfLineCode::~OutOfLineCode() {}
666 666
667 } // namespace compiler 667 } // namespace compiler
668 } // namespace internal 668 } // namespace internal
669 } // namespace v8 669 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/code-generator.h ('k') | src/compiler/common-node-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698