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

Unified Diff: src/compiler/pipeline.cc

Issue 768543002: [WIP] TrapHandler 2014/11/27. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/simplified-lowering.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/pipeline.cc
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
index 2ab614e3c0df05ab8e4bf32cecf12af4954f5f78..7d05e381f295a7d52b61562b995857976a338c06 100644
--- a/src/compiler/pipeline.cc
+++ b/src/compiler/pipeline.cc
@@ -10,6 +10,7 @@
#include "src/base/platform/elapsed-timer.h"
#include "src/compiler/ast-graph-builder.h"
#include "src/compiler/basic-block-instrumentor.h"
+#include "src/compiler/bounds-check-lowering.h"
#include "src/compiler/change-lowering.h"
#include "src/compiler/code-generator.h"
#include "src/compiler/control-reducer.h"
@@ -426,13 +427,15 @@ struct ChangeLoweringPhase {
Linkage linkage(data->graph_zone(), data->info());
ValueNumberingReducer vn_reducer(data->graph_zone());
SimplifiedOperatorReducer simple_reducer(data->jsgraph());
- ChangeLowering lowering(data->jsgraph(), &linkage);
+ ChangeLowering change_lowering(data->jsgraph(), &linkage);
+ BoundsCheckLowering bounds_check_lowering(data->jsgraph());
MachineOperatorReducer mach_reducer(data->jsgraph());
GraphReducer graph_reducer(data->graph(), temp_zone);
// TODO(titzer): Figure out if we should run all reducers at once here.
graph_reducer.AddReducer(&vn_reducer);
graph_reducer.AddReducer(&simple_reducer);
- graph_reducer.AddReducer(&lowering);
+ graph_reducer.AddReducer(&change_lowering);
+ graph_reducer.AddReducer(&bounds_check_lowering);
graph_reducer.AddReducer(&mach_reducer);
graph_reducer.ReduceGraph();
}
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/simplified-lowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698