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
This commit is contained in:
parent
6ccb8704f2
commit
204f1ce879
@ -413,10 +413,14 @@ 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();
|
||||
return SetLastStatus(SUCCEEDED);
|
||||
if (!info()->code().is_null()) {
|
||||
return SetLastStatus(SUCCEEDED);
|
||||
}
|
||||
}
|
||||
|
||||
if (FLAG_trace_hydrogen) {
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user