OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 #endif | 1026 #endif |
1027 | 1027 |
1028 // Tear down the exit frame, pop the arguments, and return. | 1028 // Tear down the exit frame, pop the arguments, and return. |
1029 mov(sp, Operand(fp)); | 1029 mov(sp, Operand(fp)); |
1030 ldm(ia_w, sp, fp.bit() | lr.bit()); | 1030 ldm(ia_w, sp, fp.bit() | lr.bit()); |
1031 if (argument_count.is_valid()) { | 1031 if (argument_count.is_valid()) { |
1032 add(sp, sp, Operand(argument_count, LSL, kPointerSizeLog2)); | 1032 add(sp, sp, Operand(argument_count, LSL, kPointerSizeLog2)); |
1033 } | 1033 } |
1034 } | 1034 } |
1035 | 1035 |
| 1036 |
1036 void MacroAssembler::GetCFunctionDoubleResult(const DwVfpRegister dst) { | 1037 void MacroAssembler::GetCFunctionDoubleResult(const DwVfpRegister dst) { |
1037 if (use_eabi_hardfloat()) { | 1038 if (use_eabi_hardfloat()) { |
1038 Move(dst, d0); | 1039 Move(dst, d0); |
1039 } else { | 1040 } else { |
1040 vmov(dst, r0, r1); | 1041 vmov(dst, r0, r1); |
1041 } | 1042 } |
1042 } | 1043 } |
1043 | 1044 |
1044 | 1045 |
1045 void MacroAssembler::SetCallKind(Register dst, CallKind call_kind) { | 1046 void MacroAssembler::SetCallKind(Register dst, CallKind call_kind) { |
(...skipping 2781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3827 void CodePatcher::EmitCondition(Condition cond) { | 3828 void CodePatcher::EmitCondition(Condition cond) { |
3828 Instr instr = Assembler::instr_at(masm_.pc_); | 3829 Instr instr = Assembler::instr_at(masm_.pc_); |
3829 instr = (instr & ~kCondMask) | cond; | 3830 instr = (instr & ~kCondMask) | cond; |
3830 masm_.emit(instr); | 3831 masm_.emit(instr); |
3831 } | 3832 } |
3832 | 3833 |
3833 | 3834 |
3834 } } // namespace v8::internal | 3835 } } // namespace v8::internal |
3835 | 3836 |
3836 #endif // V8_TARGET_ARCH_ARM | 3837 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |