Chromium Code Reviews| Index: runtime/vm/stub_code_ia32.cc |
| =================================================================== |
| --- runtime/vm/stub_code_ia32.cc (revision 40822) |
| +++ runtime/vm/stub_code_ia32.cc (working copy) |
| @@ -86,7 +86,7 @@ |
| __ movl(Address(CTX, Isolate::vm_tag_offset()), ECX); |
| // Reserve space for arguments and align frame before entering C++ world. |
| - __ AddImmediate(ESP, Immediate(-sizeof(NativeArguments))); |
| + __ AddImmediate(ESP, Immediate(0 - sizeof(NativeArguments))); |
|
rmacnak
2014/09/30 22:39:50
I think these need a static_cast or there will be
siva
2014/09/30 23:05:35
Done.
|
| if (OS::ActivationFrameAlignment() > 1) { |
| __ andl(ESP, Immediate(~(OS::ActivationFrameAlignment() - 1))); |
| } |
| @@ -210,7 +210,8 @@ |
| // Reserve space for the native arguments structure, the outgoing parameters |
| // (pointer to the native arguments structure, the C function entry point) |
| // and align frame before entering the C++ world. |
| - __ AddImmediate(ESP, Immediate(-sizeof(NativeArguments) - (2 * kWordSize))); |
| + __ AddImmediate(ESP, |
| + Immediate(0 - sizeof(NativeArguments) - (2 * kWordSize))); |
| if (OS::ActivationFrameAlignment() > 1) { |
| __ andl(ESP, Immediate(~(OS::ActivationFrameAlignment() - 1))); |
| } |
| @@ -314,7 +315,7 @@ |
| // Reserve space for the native arguments structure, the outgoing parameter |
| // (pointer to the native arguments structure) and align frame before |
| // entering the C++ world. |
| - __ AddImmediate(ESP, Immediate(-sizeof(NativeArguments) - kWordSize)); |
| + __ AddImmediate(ESP, Immediate(0 - sizeof(NativeArguments) - kWordSize)); |
| if (OS::ActivationFrameAlignment() > 1) { |
| __ andl(ESP, Immediate(~(OS::ActivationFrameAlignment() - 1))); |
| } |