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

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

Issue 912393002: Mark some common operator with Property::kNoThrow. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix GVN failures. Created 5 years, 10 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/operator.h ('k') | src/compiler/value-numbering-reducer.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/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 void Run(PipelineData* data, Zone* temp_zone) { 512 void Run(PipelineData* data, Zone* temp_zone) {
513 SourcePositionTable::Scope pos(data->source_positions(), 513 SourcePositionTable::Scope pos(data->source_positions(),
514 SourcePosition::Unknown()); 514 SourcePosition::Unknown());
515 Linkage linkage(data->graph_zone(), data->info()); 515 Linkage linkage(data->graph_zone(), data->info());
516 ValueNumberingReducer vn_reducer(temp_zone); 516 ValueNumberingReducer vn_reducer(temp_zone);
517 SimplifiedOperatorReducer simple_reducer(data->jsgraph()); 517 SimplifiedOperatorReducer simple_reducer(data->jsgraph());
518 ChangeLowering lowering(data->jsgraph(), &linkage); 518 ChangeLowering lowering(data->jsgraph(), &linkage);
519 MachineOperatorReducer machine_reducer(data->jsgraph()); 519 MachineOperatorReducer machine_reducer(data->jsgraph());
520 CommonOperatorReducer common_reducer; 520 CommonOperatorReducer common_reducer;
521 GraphReducer graph_reducer(data->graph(), temp_zone); 521 GraphReducer graph_reducer(data->graph(), temp_zone);
522 graph_reducer.AddReducer(&vn_reducer); 522 AddReducer(data, &graph_reducer, &vn_reducer);
523 AddReducer(data, &graph_reducer, &simple_reducer); 523 AddReducer(data, &graph_reducer, &simple_reducer);
524 AddReducer(data, &graph_reducer, &lowering); 524 AddReducer(data, &graph_reducer, &lowering);
525 AddReducer(data, &graph_reducer, &machine_reducer); 525 AddReducer(data, &graph_reducer, &machine_reducer);
526 AddReducer(data, &graph_reducer, &common_reducer); 526 AddReducer(data, &graph_reducer, &common_reducer);
527 graph_reducer.ReduceGraph(); 527 graph_reducer.ReduceGraph();
528 } 528 }
529 }; 529 };
530 530
531 531
532 struct ControlReductionPhase { 532 struct ControlReductionPhase {
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 1176
1177 if (FLAG_trace_turbo && !data->MayHaveUnverifiableGraph()) { 1177 if (FLAG_trace_turbo && !data->MayHaveUnverifiableGraph()) {
1178 TurboCfgFile tcf(data->isolate()); 1178 TurboCfgFile tcf(data->isolate());
1179 tcf << AsC1VAllocator("CodeGen", data->register_allocator()); 1179 tcf << AsC1VAllocator("CodeGen", data->register_allocator());
1180 } 1180 }
1181 } 1181 }
1182 1182
1183 } // namespace compiler 1183 } // namespace compiler
1184 } // namespace internal 1184 } // namespace internal
1185 } // namespace v8 1185 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/operator.h ('k') | src/compiler/value-numbering-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698