[prev in list] [next in list] [prev in thread] [next in thread]
List: webkit-dev
Subject: Re: [webkit-dev] want to port JIT to MIPS - which calling
From: x yz <lastguy () yahoo ! com>
Date: 2009-02-27 23:40:21
Message-ID: 372735.50359.qm () web52702 ! mail ! re2 ! yahoo ! com
[Download RAW message or body]
Hi,
Thanks for your help in advance:)
in JITPropertyAccess.cpp:
if (transitionWillNeedStorageRealloc(oldStructure, newStructure)) {
pop(X86::ebx); ///pop return address, why? for exception?
#if PLATFORM(X86_64) ///which convention is this?
move(Imm32(newStructure->propertyStorageCapacity()), regT1); //edx
move(Imm32(oldStructure->propertyStorageCapacity()), X86::esi);
move(regT0, X86::edi);
callTarget = call();
#else ///__cdecl, yet how can I know resizePropertyStorage() use __cdecl?
push(Imm32(newStructure->propertyStorageCapacity()));
push(Imm32(oldStructure->propertyStorageCapacity()));
push(regT0);
callTarget = call();
addPtr(Imm32(3 * sizeof(void*)), X86::esp); ///clean stack
#endif
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic