OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 1857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1868 __ cmp(r0, Operand::Zero()); | 1868 __ cmp(r0, Operand::Zero()); |
1869 __ LoadRoot(r0, Heap::kTrueValueRootIndex, eq); | 1869 __ LoadRoot(r0, Heap::kTrueValueRootIndex, eq); |
1870 __ LoadRoot(r0, Heap::kFalseValueRootIndex, ne); | 1870 __ LoadRoot(r0, Heap::kFalseValueRootIndex, ne); |
1871 __ Ret(HasArgsInRegisters() ? 0 : 2); | 1871 __ Ret(HasArgsInRegisters() ? 0 : 2); |
1872 } | 1872 } |
1873 } | 1873 } |
1874 | 1874 |
1875 | 1875 |
1876 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { | 1876 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { |
1877 Label miss; | 1877 Label miss; |
1878 Register receiver = LoadIC::ReceiverRegister(); | 1878 Register receiver = LoadConvention::ReceiverRegister(); |
1879 | 1879 |
1880 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, r3, | 1880 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, r3, |
1881 r4, &miss); | 1881 r4, &miss); |
1882 __ bind(&miss); | 1882 __ bind(&miss); |
1883 PropertyAccessCompiler::TailCallBuiltin( | 1883 PropertyAccessCompiler::TailCallBuiltin( |
1884 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); | 1884 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); |
1885 } | 1885 } |
1886 | 1886 |
1887 | 1887 |
1888 Register InstanceofStub::left() { return r0; } | 1888 Register InstanceofStub::left() { return r0; } |
(...skipping 3207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5096 MemOperand(fp, 6 * kPointerSize), | 5096 MemOperand(fp, 6 * kPointerSize), |
5097 NULL); | 5097 NULL); |
5098 } | 5098 } |
5099 | 5099 |
5100 | 5100 |
5101 #undef __ | 5101 #undef __ |
5102 | 5102 |
5103 } } // namespace v8::internal | 5103 } } // namespace v8::internal |
5104 | 5104 |
5105 #endif // V8_TARGET_ARCH_ARM | 5105 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |