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

Unified Diff: src/compiler.cc

Issue 131383004: [not for landing] Diff between a64 and r19234 for no-a64 files. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index b9e13c166172595b298ae227348f5a40a35dca20..017732ed42f10e76caf90a00969a85d07c7f46e1 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -307,6 +307,15 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() {
// shared function object.
ASSERT(info()->shared_info()->code()->kind() == Code::FUNCTION);
+ if (FLAG_trace_opt) {
ulan 2014/02/11 17:24:26 Remove before landing?
Rodolph Perfetta 2014/02/11 17:58:29 Yes remove. On 2014/02/11 17:24:26, ulan wrote:
+ // TODO(jbramley): This was added to help analyse the behaviour of
+ // Crankshaft for the A64 Crankshaft port. It should eventually be deleted.
+ Handle<JSFunction> function = info()->closure();
+ PrintF("Attempting optimization of ");
+ function->PrintName();
+ PrintF(" / %" V8PRIxPTR "\n", reinterpret_cast<intptr_t>(*function));
+ }
+
// We should never arrive here if optimization has been disabled on the
// shared function info.
ASSERT(!info()->shared_info()->optimization_disabled());

Powered by Google App Engine
This is Rietveld 408576698