| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |