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

Unified Diff: src/compiler.cc

Issue 291343006: Fix compilation errors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | no next file » | 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 0349a35ca85f6afb23ee7eb5b3f3120b8600cc66..75c154376d4760d9fc0bc4958f8da55c3e13134e 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -459,14 +459,14 @@ OptimizedCompileJob::Status OptimizedCompileJob::GenerateCode() {
} else if (info()->bailout_reason() == kMapBecameDeprecated) {
if (FLAG_trace_opt) {
PrintF("[aborted optimizing ");
- function->ShortPrint();
+ info()->closure()->ShortPrint();
PrintF(" because a map became deprecated]\n");
}
return AbortOptimization();
} else if (info()->bailout_reason() == kMapBecameUnstable) {
if (FLAG_trace_opt) {
PrintF("[aborted optimizing ");
- function->ShortPrint();
+ info()->closure()->ShortPrint();
PrintF(" because a map became unstable]\n");
}
return AbortOptimization();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698