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

Side by Side Diff: src/compiler/code-generator.cc

Issue 1408163003: Move RootIndexMap out of serializer file. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add files Created 5 years, 2 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/address-map.cc ('k') | src/context-measure.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/address-map.h"
7 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
9 #include "src/compiler/pipeline.h" 10 #include "src/compiler/pipeline.h"
10 #include "src/frames-inl.h" 11 #include "src/frames-inl.h"
11 #include "src/snapshot/serialize.h" // TODO(turbofan): RootIndexMap
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 namespace compiler { 15 namespace compiler {
16 16
17 class CodeGenerator::JumpTable final : public ZoneObject { 17 class CodeGenerator::JumpTable final : public ZoneObject {
18 public: 18 public:
19 JumpTable(JumpTable* next, Label** targets, size_t target_count) 19 JumpTable(JumpTable* next, Label** targets, size_t target_count)
20 : next_(next), targets_(targets), target_count_(target_count) {} 20 : next_(next), targets_(targets), target_count_(target_count) {}
21 21
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 : masm_(gen->masm()), next_(gen->ools_) { 668 : masm_(gen->masm()), next_(gen->ools_) {
669 gen->ools_ = this; 669 gen->ools_ = this;
670 } 670 }
671 671
672 672
673 OutOfLineCode::~OutOfLineCode() {} 673 OutOfLineCode::~OutOfLineCode() {}
674 674
675 } // namespace compiler 675 } // namespace compiler
676 } // namespace internal 676 } // namespace internal
677 } // namespace v8 677 } // namespace v8
OLDNEW
« no previous file with comments | « src/address-map.cc ('k') | src/context-measure.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698