| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #if V8_TARGET_ARCH_S390 | 5 #if V8_TARGET_ARCH_S390 |
| 6 | 6 |
| 7 #include "src/ic/handler-compiler.h" | 7 #include "src/ic/handler-compiler.h" |
| 8 | 8 |
| 9 #include "src/api-arguments.h" | 9 #include "src/api-arguments.h" |
| 10 #include "src/field-type.h" | 10 #include "src/field-type.h" |
| (...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 699 __ Push(ip, value()); | 699 __ Push(ip, value()); |
| 700 __ Push(Smi::FromInt(language_mode)); | 700 __ Push(Smi::FromInt(language_mode)); |
| 701 | 701 |
| 702 // Do tail-call to the runtime system. | 702 // Do tail-call to the runtime system. |
| 703 __ TailCallRuntime(Runtime::kStoreCallbackProperty); | 703 __ TailCallRuntime(Runtime::kStoreCallbackProperty); |
| 704 | 704 |
| 705 // Return the generated code. | 705 // Return the generated code. |
| 706 return GetCode(kind(), Code::FAST, name); | 706 return GetCode(kind(), Code::FAST, name); |
| 707 } | 707 } |
| 708 | 708 |
| 709 Handle<Code> NamedStoreHandlerCompiler::CompileStoreInterceptor( | |
| 710 Handle<Name> name) { | |
| 711 __ Push(receiver(), this->name(), value()); | |
| 712 | |
| 713 // Do tail-call to the runtime system. | |
| 714 __ TailCallRuntime(Runtime::kStorePropertyWithInterceptor); | |
| 715 | |
| 716 // Return the generated code. | |
| 717 return GetCode(kind(), Code::FAST, name); | |
| 718 } | |
| 719 | |
| 720 Register NamedStoreHandlerCompiler::value() { | 709 Register NamedStoreHandlerCompiler::value() { |
| 721 return StoreDescriptor::ValueRegister(); | 710 return StoreDescriptor::ValueRegister(); |
| 722 } | 711 } |
| 723 | 712 |
| 724 Handle<Code> NamedLoadHandlerCompiler::CompileLoadGlobal( | 713 Handle<Code> NamedLoadHandlerCompiler::CompileLoadGlobal( |
| 725 Handle<PropertyCell> cell, Handle<Name> name, bool is_configurable) { | 714 Handle<PropertyCell> cell, Handle<Name> name, bool is_configurable) { |
| 726 Label miss; | 715 Label miss; |
| 727 if (IC::ICUseVector(kind())) { | 716 if (IC::ICUseVector(kind())) { |
| 728 PushVectorAndSlot(); | 717 PushVectorAndSlot(); |
| 729 } | 718 } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 752 | 741 |
| 753 // Return the generated code. | 742 // Return the generated code. |
| 754 return GetCode(kind(), Code::NORMAL, name); | 743 return GetCode(kind(), Code::NORMAL, name); |
| 755 } | 744 } |
| 756 | 745 |
| 757 #undef __ | 746 #undef __ |
| 758 } // namespace internal | 747 } // namespace internal |
| 759 } // namespace v8 | 748 } // namespace v8 |
| 760 | 749 |
| 761 #endif // V8_TARGET_ARCH_ARM | 750 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |