Reviewers: Hannes Payer,

Message:
Committed patchset #1 manually as r21454 (tree was closed).

Description:
Fix compilation errors.

[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=21454

Please review this at https://codereview.chromium.org/291343006/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -2 lines):
  M src/compiler.cc


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();


--
--
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.

Reply via email to