OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 | 832 |
833 // Tear down the exit frame, pop the arguments, and return. | 833 // Tear down the exit frame, pop the arguments, and return. |
834 mov(sp, Operand(fp)); | 834 mov(sp, Operand(fp)); |
835 ldm(ia_w, sp, fp.bit() | lr.bit()); | 835 ldm(ia_w, sp, fp.bit() | lr.bit()); |
836 if (argument_count.is_valid()) { | 836 if (argument_count.is_valid()) { |
837 add(sp, sp, Operand(argument_count, LSL, kPointerSizeLog2)); | 837 add(sp, sp, Operand(argument_count, LSL, kPointerSizeLog2)); |
838 } | 838 } |
839 } | 839 } |
840 | 840 |
841 void MacroAssembler::GetCFunctionDoubleResult(const DoubleRegister dst) { | 841 void MacroAssembler::GetCFunctionDoubleResult(const DoubleRegister dst) { |
842 #if !defined(USE_ARM_EABI) | |
843 UNREACHABLE(); | |
844 #else | |
845 vmov(dst, r0, r1); | 842 vmov(dst, r0, r1); |
846 #endif | |
847 } | 843 } |
848 | 844 |
849 | 845 |
850 void MacroAssembler::InvokePrologue(const ParameterCount& expected, | 846 void MacroAssembler::InvokePrologue(const ParameterCount& expected, |
851 const ParameterCount& actual, | 847 const ParameterCount& actual, |
852 Handle<Code> code_constant, | 848 Handle<Code> code_constant, |
853 Register code_reg, | 849 Register code_reg, |
854 Label* done, | 850 Label* done, |
855 InvokeFlag flag, | 851 InvokeFlag flag, |
856 CallWrapper* call_wrapper) { | 852 CallWrapper* call_wrapper) { |
(...skipping 2073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2930 void CodePatcher::EmitCondition(Condition cond) { | 2926 void CodePatcher::EmitCondition(Condition cond) { |
2931 Instr instr = Assembler::instr_at(masm_.pc_); | 2927 Instr instr = Assembler::instr_at(masm_.pc_); |
2932 instr = (instr & ~kCondMask) | cond; | 2928 instr = (instr & ~kCondMask) | cond; |
2933 masm_.emit(instr); | 2929 masm_.emit(instr); |
2934 } | 2930 } |
2935 | 2931 |
2936 | 2932 |
2937 } } // namespace v8::internal | 2933 } } // namespace v8::internal |
2938 | 2934 |
2939 #endif // V8_TARGET_ARCH_ARM | 2935 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |