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

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

Issue 1150673002: Add a TurboFan skeleton for StringAddStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed frame construction logic Created 5 years, 7 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/ia32/code-generator-ia32.cc » ('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
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 masm_(info->isolate(), NULL, 0), 42 masm_(info->isolate(), NULL, 0),
43 resolver_(this), 43 resolver_(this),
44 safepoints_(code->zone()), 44 safepoints_(code->zone()),
45 handlers_(code->zone()), 45 handlers_(code->zone()),
46 deoptimization_states_(code->zone()), 46 deoptimization_states_(code->zone()),
47 deoptimization_literals_(code->zone()), 47 deoptimization_literals_(code->zone()),
48 translations_(code->zone()), 48 translations_(code->zone()),
49 last_lazy_deopt_pc_(0), 49 last_lazy_deopt_pc_(0),
50 jump_tables_(nullptr), 50 jump_tables_(nullptr),
51 ools_(nullptr), 51 ools_(nullptr),
52 osr_pc_offset_(-1) { 52 osr_pc_offset_(-1),
53 needs_frame_(frame->GetSpillSlotCount() > 0 || code->ContainsCall()) {
53 for (int i = 0; i < code->InstructionBlockCount(); ++i) { 54 for (int i = 0; i < code->InstructionBlockCount(); ++i) {
54 new (&labels_[i]) Label; 55 new (&labels_[i]) Label;
55 } 56 }
56 } 57 }
57 58
58 59
59 Handle<Code> CodeGenerator::GenerateCode() { 60 Handle<Code> CodeGenerator::GenerateCode() {
60 CompilationInfo* info = this->info(); 61 CompilationInfo* info = this->info();
61 62
62 // Emit a code line info recording start event. 63 // Emit a code line info recording start event.
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 : masm_(gen->masm()), next_(gen->ools_) { 664 : masm_(gen->masm()), next_(gen->ools_) {
664 gen->ools_ = this; 665 gen->ools_ = this;
665 } 666 }
666 667
667 668
668 OutOfLineCode::~OutOfLineCode() {} 669 OutOfLineCode::~OutOfLineCode() {}
669 670
670 } // namespace compiler 671 } // namespace compiler
671 } // namespace internal 672 } // namespace internal
672 } // namespace v8 673 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/code-generator.h ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698