DescriptionDon't print inlined function ID in --trace-hydrogen
FunctionLiteral has two purposes: it is a unit of compilation, and it is
also an expression. Its id() is only for the latter purpose, used by
the continuation of the closure, not by the closure itself.
When we inline, we treat the FunctionLiteral as a unit of compilation,
not as an expression, and as such the FunctionLiteral doesn't have any
meaningful ID. The right thing to do is not to access the ID when
printing the hydrogen expression.
R=svenpanne@chromium.org, vegorov@google.com
BUG=v8:3680
LOG=N
Committed: https://code.google.com/p/v8/source/detail?r=25267
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|