Extend TF test coverage to supported targets.

R=danno@google.com, titzer@chromium.org
TEST=all

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22787 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 6ccb8704
......@@ -413,11 +413,15 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() {
info()->function()->dont_optimize_reason() != kTryCatchStatement &&
info()->function()->dont_optimize_reason() != kTryFinallyStatement &&
// TODO(turbofan): Make OSR work and remove this bailout.
!info()->is_osr()) {
!info()->is_osr() &&
// TODO(mstarzinger): Extend test coverage to unsupported targets.
compiler::Pipeline::SupportedTarget()) {
compiler::Pipeline pipeline(info());
pipeline.GenerateCode();
if (!info()->code().is_null()) {
return SetLastStatus(SUCCEEDED);
}
}
if (FLAG_trace_hydrogen) {
Handle<String> name = info()->function()->debug_name();
......
......@@ -170,7 +170,7 @@ Handle<Code> Pipeline::GenerateCode() {
}
}
{
if (SupportedTarget()) {
// Lower any remaining generic JSOperators.
PhaseStats lowering_stats(info(), PhaseStats::CREATE_GRAPH,
"generic lowering");
......
......@@ -62,7 +62,7 @@ VARIANT_FLAGS = {
"turbofan": ["--turbo-filter=*", "--always-opt"],
"nocrankshaft": ["--nocrankshaft"]}
VARIANTS = ["default", "stress", "nocrankshaft"]
VARIANTS = ["default", "stress", "turbofan", "nocrankshaft"]
MODE_FLAGS = {
"debug" : ["--nohard-abort", "--nodead-code-elimination",
......
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