Reviewers: jarin,
Description:
[turbofan] Add new JSFrameSpecialization reducer.
The JSFrameSpecialization specializes an OSR graph to the current
unoptimized frame on which we will perform the on-stack replacement.
This is used for asm.js functions, where we cannot reuse the OSR code
object anyway because of context specialization, and so we could as well
specialize to the max instead.
It works by replacing all OsrValues in the graph with their values in
the JavaScriptFrame.
The idea is that using this trick we get better performance without
doing the unsound backpropagation of types to OsrValues later. This is
the first step towards fixing OSR for TurboFan.
[email protected]
BUG=v8:4273
LOG=y
Please review this at https://codereview.chromium.org/1225683004/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+139, -21 lines):
M BUILD.gn
M src/compiler.h
M src/compiler.cc
A src/compiler/js-frame-specialization.h
A src/compiler/js-frame-specialization.cc
M src/compiler/pipeline.cc
M src/runtime/runtime-compiler.cc
M tools/gyp/v8.gyp
--
--
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.