DescriptionWrap external pointers more carefully.
On 32-bit platforms any pointer with 0 as LSB can be wrapped into Smi. However, on 64-bit
platforms it's currently not the case as x64 Smis must have 0s in lower 32 bit word.
Even worse, macroassembler Move instruction will try to fetch integer value from Smi
and will shift by 32 bits to the right rendering stored pointer incorrect.
BUG=v8:1037
Committed: http://code.google.com/p/v8/source/detail?r=6301
Patch Set 1 #
Total comments: 3
Patch Set 2 : Next round #
Total comments: 8
Patch Set 3 : Addressing Lasse's comments #
Messages
Total messages: 5 (0 generated)
|