Re:Check Widening in LLVM
by drfuchs on Sunday July 17, 2016 @12:07PM
(#12110578)
Why "discard the current runtime frame, and resume execution in the interpreter" rather than jump into a compiled but unoptimized version of the function?
[ Parent
| on HN ]
You could do the latter too, and that's what V8 does for example (at least until they roll out the interpreter).
Re:Check Widening in LLVM
by sanjoy_das on Sunday July 17, 2016 @04:08PM
(#12111568)
Yup. The "obvious" downside to that is that you'll burn CPU cycles and memory by generating and keeping around a slow-but-correct compile for every function.