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

Side by Side Diff: src/compiler.cc

Issue 1197703002: Use big-boy Types to annotate interface descriptor parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Latest Created 5 years, 6 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.h ('k') | src/compiler/linkage-impl.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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.h" 5 #include "src/compiler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "src/ast-numbering.h" 9 #include "src/ast-numbering.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 bailout_reason_(kNoReason), 146 bailout_reason_(kNoReason),
147 prologue_offset_(Code::kPrologueOffsetNotSet), 147 prologue_offset_(Code::kPrologueOffsetNotSet),
148 no_frame_ranges_(isolate->cpu_profiler()->is_profiling() 148 no_frame_ranges_(isolate->cpu_profiler()->is_profiling()
149 ? new List<OffsetRange>(2) 149 ? new List<OffsetRange>(2)
150 : nullptr), 150 : nullptr),
151 track_positions_(FLAG_hydrogen_track_positions || 151 track_positions_(FLAG_hydrogen_track_positions ||
152 isolate->cpu_profiler()->is_profiling()), 152 isolate->cpu_profiler()->is_profiling()),
153 opt_count_(has_shared_info() ? shared_info()->opt_count() : 0), 153 opt_count_(has_shared_info() ? shared_info()->opt_count() : 0),
154 parameter_count_(0), 154 parameter_count_(0),
155 optimization_id_(-1), 155 optimization_id_(-1),
156 osr_expr_stack_height_(0) {} 156 osr_expr_stack_height_(0),
157 function_type_(nullptr) {}
157 158
158 159
159 CompilationInfo::~CompilationInfo() { 160 CompilationInfo::~CompilationInfo() {
160 DisableFutureOptimization(); 161 DisableFutureOptimization();
161 delete deferred_handles_; 162 delete deferred_handles_;
162 delete no_frame_ranges_; 163 delete no_frame_ranges_;
163 #ifdef DEBUG 164 #ifdef DEBUG
164 // Check that no dependent maps have been added or added dependent maps have 165 // Check that no dependent maps have been added or added dependent maps have
165 // been rolled back or committed. 166 // been rolled back or committed.
166 DCHECK(dependencies()->IsEmpty()); 167 DCHECK(dependencies()->IsEmpty());
(...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1597 1598
1598 1599
1599 #if DEBUG 1600 #if DEBUG
1600 void CompilationInfo::PrintAstForTesting() { 1601 void CompilationInfo::PrintAstForTesting() {
1601 PrintF("--- Source from AST ---\n%s\n", 1602 PrintF("--- Source from AST ---\n%s\n",
1602 PrettyPrinter(isolate(), zone()).PrintProgram(function())); 1603 PrettyPrinter(isolate(), zone()).PrintProgram(function()));
1603 } 1604 }
1604 #endif 1605 #endif
1605 } // namespace internal 1606 } // namespace internal
1606 } // namespace v8 1607 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler.h ('k') | src/compiler/linkage-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698