Revision: 22787
Author: [email protected]
Date: Fri Aug 1 10:47:01 2014 UTC
Log: Extend TF test coverage to supported targets.
[email protected], [email protected]
TEST=all
Review URL: https://codereview.chromium.org/432313002
http://code.google.com/p/v8/source/detail?r=22787
Modified:
/branches/bleeding_edge/src/compiler/pipeline.cc
/branches/bleeding_edge/src/compiler.cc
/branches/bleeding_edge/tools/run-tests.py
=======================================
--- /branches/bleeding_edge/src/compiler/pipeline.cc Thu Jul 31 11:20:36
2014 UTC
+++ /branches/bleeding_edge/src/compiler/pipeline.cc Fri Aug 1 10:47:01
2014 UTC
@@ -170,7 +170,7 @@
}
}
- {
+ if (SupportedTarget()) {
// Lower any remaining generic JSOperators.
PhaseStats lowering_stats(info(), PhaseStats::CREATE_GRAPH,
"generic lowering");
=======================================
--- /branches/bleeding_edge/src/compiler.cc Wed Jul 30 13:54:45 2014 UTC
+++ /branches/bleeding_edge/src/compiler.cc Fri Aug 1 10:47:01 2014 UTC
@@ -413,10 +413,14 @@
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) {
=======================================
--- /branches/bleeding_edge/tools/run-tests.py Wed Jul 30 13:54:45 2014 UTC
+++ /branches/bleeding_edge/tools/run-tests.py Fri Aug 1 10:47:01 2014 UTC
@@ -62,7 +62,7 @@
"turbofan": ["--turbo-filter=*", "--always-opt"],
"nocrankshaft": ["--nocrankshaft"]}
-VARIANTS = ["default", "stress", "nocrankshaft"]
+VARIANTS = ["default", "stress", "turbofan", "nocrankshaft"]
MODE_FLAGS = {
"debug" : ["--nohard-abort", "--nodead-code-elimination",
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.