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

Unified Diff: src/crankshaft/hydrogen.cc

Issue 1926693003: [compiler] Remove deprecated CompilationJob status. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-compiler-rename-compilation-job
Patch Set: Created 4 years, 8 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 | « src/compiler/pipeline.cc ('k') | src/optimizing-compile-dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/hydrogen.cc
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
index f7daa257cdc295cc85d6b2fc6d5a8d995185ec2d..1ced268c465f8cc7a4d664862c5b1031738c7562 100644
--- a/src/crankshaft/hydrogen.cc
+++ b/src/crankshaft/hydrogen.cc
@@ -185,7 +185,7 @@ HCompilationJob::Status HCompilationJob::CreateGraphImpl() {
return FAILED;
}
- if (graph_ == NULL) return BAILED_OUT;
+ if (graph_ == NULL) return FAILED;
if (info()->dependencies()->HasAborted()) {
// Dependency has changed during graph creation. Let's try again later.
@@ -206,7 +206,7 @@ HCompilationJob::Status HCompilationJob::OptimizeGraphImpl() {
info()->AbortOptimization(bailout_reason);
}
- return BAILED_OUT;
+ return FAILED;
}
HCompilationJob::Status HCompilationJob::GenerateCodeImpl() {
@@ -223,7 +223,7 @@ HCompilationJob::Status HCompilationJob::GenerateCodeImpl() {
if (info()->bailout_reason() == kNoReason) {
return AbortOptimization(kCodeGenerationFailed);
}
- return BAILED_OUT;
+ return FAILED;
}
RegisterWeakObjectsInOptimizedCode(optimized_code);
info()->SetCode(optimized_code);
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/optimizing-compile-dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698