Re: [v8-users] A simple question on HEscapeAnalysisPhase in V8

2015-04-07 Thread Jakob Kummerow
On Tue, Apr 7, 2015 at 6:47 AM, maxs.u...@gmail.com wrote: I add a *HIR dump function* like this: You might like to know that there already is a --trace-hydrogen flag. It produces a hydrogen.cfg file that you can load into c1visualizer. 1, V8 calls the HEscapeAnalysisPhase::Run() for 4

[v8-users] A simple question on HEscapeAnalysisPhase in V8

2015-04-06 Thread maxs . ustc
Hi, all: I am a newbie to V8. When I use the following test-case to study the EscapeAnalysis pass in V8, I found that: ===*test case start*=== $ cat examp0.js function f(x) { var o = new Object(); if (x 30) x = x - 5;