| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 2603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2614 if (object->IsJSGlobalProxy()) { | 2614 if (object->IsJSGlobalProxy()) { |
| 2615 __ CheckAccessGlobalProxy(receiver(), scratch1(), &miss); | 2615 __ CheckAccessGlobalProxy(receiver(), scratch1(), &miss); |
| 2616 } | 2616 } |
| 2617 | 2617 |
| 2618 // Stub is never generated for non-global objects that require access | 2618 // Stub is never generated for non-global objects that require access |
| 2619 // checks. | 2619 // checks. |
| 2620 ASSERT(object->IsJSGlobalProxy() || !object->IsAccessCheckNeeded()); | 2620 ASSERT(object->IsJSGlobalProxy() || !object->IsAccessCheckNeeded()); |
| 2621 | 2621 |
| 2622 __ Push(receiver(), this->name(), value()); | 2622 __ Push(receiver(), this->name(), value()); |
| 2623 | 2623 |
| 2624 __ mov(scratch1(), Operand(Smi::FromInt(strict_mode()))); | |
| 2625 __ push(scratch1()); // strict mode | |
| 2626 | |
| 2627 // Do tail-call to the runtime system. | 2624 // Do tail-call to the runtime system. |
| 2628 ExternalReference store_ic_property = | 2625 ExternalReference store_ic_property = |
| 2629 ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate()); | 2626 ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate()); |
| 2630 __ TailCallExternalReference(store_ic_property, 4, 1); | 2627 __ TailCallExternalReference(store_ic_property, 3, 1); |
| 2631 | 2628 |
| 2632 // Handle store cache miss. | 2629 // Handle store cache miss. |
| 2633 __ bind(&miss); | 2630 __ bind(&miss); |
| 2634 TailCallBuiltin(masm(), MissBuiltin(kind())); | 2631 TailCallBuiltin(masm(), MissBuiltin(kind())); |
| 2635 | 2632 |
| 2636 // Return the generated code. | 2633 // Return the generated code. |
| 2637 return GetCode(kind(), Code::FAST, name); | 2634 return GetCode(kind(), Code::FAST, name); |
| 2638 } | 2635 } |
| 2639 | 2636 |
| 2640 | 2637 |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2891 // ----------------------------------- | 2888 // ----------------------------------- |
| 2892 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 2889 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
| 2893 } | 2890 } |
| 2894 | 2891 |
| 2895 | 2892 |
| 2896 #undef __ | 2893 #undef __ |
| 2897 | 2894 |
| 2898 } } // namespace v8::internal | 2895 } } // namespace v8::internal |
| 2899 | 2896 |
| 2900 #endif // V8_TARGET_ARCH_ARM | 2897 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |