| 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 4020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4031 // ---------- S t a t e -------------- | 4031 // ---------- S t a t e -------------- |
| 4032 // -- r0 : value | 4032 // -- r0 : value |
| 4033 // -- r1 : key | 4033 // -- r1 : key |
| 4034 // -- r2 : receiver | 4034 // -- r2 : receiver |
| 4035 // -- lr : return address | 4035 // -- lr : return address |
| 4036 // ----------------------------------- | 4036 // ----------------------------------- |
| 4037 | 4037 |
| 4038 // Push receiver, key and value for runtime call. | 4038 // Push receiver, key and value for runtime call. |
| 4039 __ Push(r2, r1, r0); | 4039 __ Push(r2, r1, r0); |
| 4040 | 4040 |
| 4041 __ TailCallRuntime(Runtime::kSetProperty, 3, 1); | 4041 __ mov(r1, Operand(Smi::FromInt(NONE))); // PropertyAttributes |
| 4042 __ mov(r0, Operand(Smi::FromInt( |
| 4043 Code::ExtractExtraICStateFromFlags(flags) == kStrictMode |
| 4044 ? kStrictMode |
| 4045 : kNonStrictMode))); |
| 4046 __ Push(r1, r0); |
| 4047 |
| 4048 __ TailCallRuntime(Runtime::kSetProperty, 5, 1); |
| 4042 | 4049 |
| 4043 return GetCode(flags); | 4050 return GetCode(flags); |
| 4044 } | 4051 } |
| 4045 | 4052 |
| 4046 | 4053 |
| 4047 #undef __ | 4054 #undef __ |
| 4048 | 4055 |
| 4049 } } // namespace v8::internal | 4056 } } // namespace v8::internal |
| 4050 | 4057 |
| 4051 #endif // V8_TARGET_ARCH_ARM | 4058 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |