OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_X64 | 7 #if V8_TARGET_ARCH_X64 |
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 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
768 | 768 |
769 __ bind(&done); | 769 __ bind(&done); |
770 __ IncrementCounter(counters->math_pow(), 1); | 770 __ IncrementCounter(counters->math_pow(), 1); |
771 __ ret(0); | 771 __ ret(0); |
772 } | 772 } |
773 } | 773 } |
774 | 774 |
775 | 775 |
776 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { | 776 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { |
777 Label miss; | 777 Label miss; |
778 Register receiver = LoadIC::ReceiverRegister(); | 778 Register receiver = LoadConvention::ReceiverRegister(); |
779 | 779 |
780 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, r8, | 780 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, r8, |
781 r9, &miss); | 781 r9, &miss); |
782 __ bind(&miss); | 782 __ bind(&miss); |
783 PropertyAccessCompiler::TailCallBuiltin( | 783 PropertyAccessCompiler::TailCallBuiltin( |
784 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); | 784 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); |
785 } | 785 } |
786 | 786 |
787 | 787 |
788 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { | 788 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { |
(...skipping 4187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4976 return_value_operand, | 4976 return_value_operand, |
4977 NULL); | 4977 NULL); |
4978 } | 4978 } |
4979 | 4979 |
4980 | 4980 |
4981 #undef __ | 4981 #undef __ |
4982 | 4982 |
4983 } } // namespace v8::internal | 4983 } } // namespace v8::internal |
4984 | 4984 |
4985 #endif // V8_TARGET_ARCH_X64 | 4985 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |