summaryrefslogtreecommitdiff
path: root/deps/v8/src/codegen.cc
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2014-03-26 11:34:43 -0700
committerTrevor Norris <trev.norris@gmail.com>2014-03-26 11:34:43 -0700
commitb872d9a6e6805992ba5b6f4de6fd7d34f7ea04aa (patch)
tree66cde1bcf586848156c3d68801adbcdd7a0ae4bb /deps/v8/src/codegen.cc
parent6079b60d396f1a68f6f6cf0cbc8c70c8471cb670 (diff)
downloadnode-hgraph-backport.tar.gz
v8: backport HGraphBuilder patchhgraph-backport
Among other things, this patch will allow Node to use IRHydra2.
Diffstat (limited to 'deps/v8/src/codegen.cc')
-rw-r--r--deps/v8/src/codegen.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/src/codegen.cc b/deps/v8/src/codegen.cc
index 13ce2218d..f6c36682d 100644
--- a/deps/v8/src/codegen.cc
+++ b/deps/v8/src/codegen.cc
@@ -165,6 +165,8 @@ void CodeGenerator::PrintCode(Handle<Code> code, CompilationInfo* info) {
function->debug_name()->ToCString().get(), tracing_scope.file());
}
PrintF(tracing_scope.file(), "--- Optimized code ---\n");
+ PrintF(tracing_scope.file(),
+ "optimization_id = %d\n", info->optimization_id());
} else {
PrintF(tracing_scope.file(), "--- Code ---\n");
}