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

Side by Side Diff: src/compiler/pipeline.cc

Issue 2037453003: [turbofan] Add new StringFromCharCode simplified operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Mitigate verifier blowup after early optimization. Created 4 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/opcodes.h ('k') | src/compiler/simplified-lowering.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/pipeline.h" 5 #include "src/compiler/pipeline.h"
6 6
7 #include <fstream> // NOLINT(readability/streams) 7 #include <fstream> // NOLINT(readability/streams)
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/base/adapters.h" 10 #include "src/base/adapters.h"
(...skipping 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1413 Run<EscapeAnalysisPhase>(); 1413 Run<EscapeAnalysisPhase>();
1414 RunPrintAndVerify("Escape Analysed"); 1414 RunPrintAndVerify("Escape Analysed");
1415 } 1415 }
1416 1416
1417 // Select representations. 1417 // Select representations.
1418 Run<RepresentationSelectionPhase>(); 1418 Run<RepresentationSelectionPhase>();
1419 RunPrintAndVerify("Representations selected"); 1419 RunPrintAndVerify("Representations selected");
1420 1420
1421 // Run early optimization pass. 1421 // Run early optimization pass.
1422 Run<EarlyOptimizationPhase>(); 1422 Run<EarlyOptimizationPhase>();
1423 RunPrintAndVerify("Early optimized"); 1423 RunPrintAndVerify("Early optimized", true);
1424 } 1424 }
1425 1425
1426 #ifdef DEBUG 1426 #ifdef DEBUG
1427 // From now on it is invalid to look at types on the nodes, because: 1427 // From now on it is invalid to look at types on the nodes, because:
1428 // 1428 //
1429 // (a) The remaining passes (might) run concurrent to the main thread and 1429 // (a) The remaining passes (might) run concurrent to the main thread and
1430 // therefore must not access the Heap or the Isolate in an uncontrolled 1430 // therefore must not access the Heap or the Isolate in an uncontrolled
1431 // way (as done by the type system), and 1431 // way (as done by the type system), and
1432 // (b) the types on the nodes might not make sense after representation 1432 // (b) the types on the nodes might not make sense after representation
1433 // selection due to the way we handle truncations; if we'd want to look 1433 // selection due to the way we handle truncations; if we'd want to look
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1799 data->DeleteRegisterAllocationZone(); 1799 data->DeleteRegisterAllocationZone();
1800 } 1800 }
1801 1801
1802 CompilationInfo* PipelineImpl::info() const { return data_->info(); } 1802 CompilationInfo* PipelineImpl::info() const { return data_->info(); }
1803 1803
1804 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } 1804 Isolate* PipelineImpl::isolate() const { return info()->isolate(); }
1805 1805
1806 } // namespace compiler 1806 } // namespace compiler
1807 } // namespace internal 1807 } // namespace internal
1808 } // namespace v8 1808 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698