On x86-64 cache JSImmediate constants in registers.
Created attachment 26824 [details] The patch
Created attachment 26825 [details] The other patch
Comment on attachment 26825 [details] The other patch r=me
fixed in r40004