| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
| 8 | 8 |
| 9 #include "src/ic/ic-compiler.h" | 9 #include "src/ic/ic-compiler.h" |
| 10 | 10 |
| (...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 957 | 957 |
| 958 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Slow); | 958 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Slow); |
| 959 | 959 |
| 960 // Miss case, call the runtime. | 960 // Miss case, call the runtime. |
| 961 __ bind(&miss); | 961 __ bind(&miss); |
| 962 | 962 |
| 963 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 963 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
| 964 } | 964 } |
| 965 | 965 |
| 966 | 966 |
| 967 void PropertyICCompiler::GenerateRuntimeSetProperty(MacroAssembler* masm, |
| 968 StrictMode strict_mode) { |
| 969 __ Push(StoreIC::ReceiverRegister(), StoreIC::NameRegister(), |
| 970 StoreIC::ValueRegister()); |
| 971 |
| 972 __ mov(r0, Operand(Smi::FromInt(strict_mode))); |
| 973 __ Push(r0); |
| 974 |
| 975 // Do tail-call to runtime routine. |
| 976 __ TailCallRuntime(Runtime::kSetProperty, 4, 1); |
| 977 } |
| 978 |
| 979 |
| 967 #undef __ | 980 #undef __ |
| 968 } | 981 } |
| 969 } // namespace v8::internal | 982 } // namespace v8::internal |
| 970 | 983 |
| 971 #endif // V8_TARGET_ARCH_ARM | 984 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |