Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: src/compiler.cc

Issue 432313002: Extend TF test coverage to supported targets. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/pipeline.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 962e7923e688b7fc4744358a1883c90bd3999a40..6d22db2dfba8cd00ab71999ae773dcd834799ffe 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -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) {
« no previous file with comments | « no previous file | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698