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,10 +413,14 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() { ...@@ -413,10 +413,14 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() {
info()->function()->dont_optimize_reason() != kTryCatchStatement && info()->function()->dont_optimize_reason() != kTryCatchStatement &&
info()->function()->dont_optimize_reason() != kTryFinallyStatement && info()->function()->dont_optimize_reason() != kTryFinallyStatement &&
// TODO(turbofan): Make OSR work and remove this bailout. // 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()); compiler::Pipeline pipeline(info());
pipeline.GenerateCode(); pipeline.GenerateCode();
return SetLastStatus(SUCCEEDED); if (!info()->code().is_null()) {
return SetLastStatus(SUCCEEDED);
}
} }
if (FLAG_trace_hydrogen) { if (FLAG_trace_hydrogen) {
......
...@@ -170,7 +170,7 @@ Handle<Code> Pipeline::GenerateCode() { ...@@ -170,7 +170,7 @@ Handle<Code> Pipeline::GenerateCode() {
} }
} }
{ if (SupportedTarget()) {
// Lower any remaining generic JSOperators. // Lower any remaining generic JSOperators.
PhaseStats lowering_stats(info(), PhaseStats::CREATE_GRAPH, PhaseStats lowering_stats(info(), PhaseStats::CREATE_GRAPH,
"generic lowering"); "generic lowering");
......
...@@ -62,7 +62,7 @@ VARIANT_FLAGS = { ...@@ -62,7 +62,7 @@ VARIANT_FLAGS = {
"turbofan": ["--turbo-filter=*", "--always-opt"], "turbofan": ["--turbo-filter=*", "--always-opt"],
"nocrankshaft": ["--nocrankshaft"]} "nocrankshaft": ["--nocrankshaft"]}
VARIANTS = ["default", "stress", "nocrankshaft"] VARIANTS = ["default", "stress", "turbofan", "nocrankshaft"]
MODE_FLAGS = { MODE_FLAGS = {
"debug" : ["--nohard-abort", "--nodead-code-elimination", "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