Clean up register allocation for Location::This
commit1a6715658aae505731ebfec97215ca6c11e332c4
authorbsimmers <bsimmers@fb.com>
Tue, 16 Oct 2012 00:26:39 +0000 (15 17:26 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 16 Oct 2012 14:26:03 +0000 (16 07:26 -0700)
treeef634204b3d70a7e5f24d07fdd70591e174c5020
parentc8dd684b8c82a8b9b2f3ae7c771bb686e13fb873
Clean up register allocation for Location::This

A few of the places that used Location::This sidestepped the
normal register allocation paths. I've cleaned those up, which should
cut down on the number of times we load from m_fp->m_this. I've also
changed the manually emitted closure code to use StackSym::H instead
of emitting This.
src/compiler/analysis/emitter.cpp
src/runtime/vm/translator/translator-x64-vector.cpp
src/runtime/vm/translator/translator-x64.cpp
src/runtime/vm/translator/translator-x64.h
src/runtime/vm/translator/translator.cpp