Commit f7e9094f authored by ahaas's avatar ahaas Committed by Commit bot

Give the SupportedMachineOperatorFlags to GraphAndBuilders to allow the use of...

Give the SupportedMachineOperatorFlags to GraphAndBuilders to allow the use of optional operators in tests.

BUG=

Review URL: https://codereview.chromium.org/1398023002

Cr-Commit-Position: refs/heads/master@{#31203}
parent bef2fbcc
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include "test/cctest/cctest.h" #include "test/cctest/cctest.h"
#include "src/compiler/common-operator.h" #include "src/compiler/common-operator.h"
#include "src/compiler/instruction-selector.h"
#include "src/compiler/linkage.h" #include "src/compiler/linkage.h"
#include "src/compiler/machine-operator.h" #include "src/compiler/machine-operator.h"
#include "src/compiler/operator-properties.h" #include "src/compiler/operator-properties.h"
...@@ -25,7 +26,8 @@ class GraphAndBuilders { ...@@ -25,7 +26,8 @@ class GraphAndBuilders {
explicit GraphAndBuilders(Zone* zone) explicit GraphAndBuilders(Zone* zone)
: main_graph_(new (zone) Graph(zone)), : main_graph_(new (zone) Graph(zone)),
main_common_(zone), main_common_(zone),
main_machine_(zone), main_machine_(zone, kMachPtr,
InstructionSelector::SupportedMachineOperatorFlags()),
main_simplified_(zone) {} main_simplified_(zone) {}
Graph* graph() const { return main_graph_; } Graph* graph() const { return main_graph_; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment