| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 3694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3705 // -- eax : value | 3705 // -- eax : value |
| 3706 // -- ecx : key | 3706 // -- ecx : key |
| 3707 // -- edx : receiver | 3707 // -- edx : receiver |
| 3708 // -- esp[0] : return address | 3708 // -- esp[0] : return address |
| 3709 // ----------------------------------- | 3709 // ----------------------------------- |
| 3710 | 3710 |
| 3711 __ pop(ebx); | 3711 __ pop(ebx); |
| 3712 __ push(edx); | 3712 __ push(edx); |
| 3713 __ push(ecx); | 3713 __ push(ecx); |
| 3714 __ push(eax); | 3714 __ push(eax); |
| 3715 __ push(ebx); | 3715 __ push(Immediate(Smi::FromInt(NONE))); // PropertyAttributes |
| 3716 __ push(Immediate(Smi::FromInt( |
| 3717 Code::ExtractExtraICStateFromFlags(flags) == kStrictMode |
| 3718 ? kStrictMode |
| 3719 : kNonStrictMode))); |
| 3720 __ push(ebx); // return address |
| 3716 | 3721 |
| 3717 // Do tail-call to runtime routine. | 3722 // Do tail-call to runtime routine. |
| 3718 __ TailCallRuntime(Runtime::kSetProperty, 3, 1); | 3723 __ TailCallRuntime(Runtime::kSetProperty, 5, 1); |
| 3719 | 3724 |
| 3720 return GetCode(flags); | 3725 return GetCode(flags); |
| 3721 } | 3726 } |
| 3722 | 3727 |
| 3723 | 3728 |
| 3724 #undef __ | 3729 #undef __ |
| 3725 | 3730 |
| 3726 } } // namespace v8::internal | 3731 } } // namespace v8::internal |
| 3727 | 3732 |
| 3728 #endif // V8_TARGET_ARCH_IA32 | 3733 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |