Don't translate idx when JitEnableRenameFunctions is set
commit1cc4324ff784f957e26130c791e48a8332c234d4
authormwilliams <mwilliams@fb.com>
Mon, 2 Dec 2013 16:30:32 +0000 (2 08:30 -0800)
committerSara Golemon <sgolemon@fb.com>
Tue, 3 Dec 2013 17:29:52 +0000 (3 09:29 -0800)
treedb0da9c8114e64d66f671dda468974ec387a9d83
parent3d242a6d9da457429a47dc9f33f5e9b3c629c4d0
Don't translate idx when JitEnableRenameFunctions is set

Users are supposed to be able to override idx with
their own version - but that doesn't work if we translate it
during bytecode emission.

We don't really have a good way of knowing whether its been
overridden, however, so use JitEnableRenameFunctions as we
have for other, similar cases.

Reviewed By: @dariorussi

Differential Revision: D1078332
hphp/compiler/analysis/emitter.cpp