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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
738 #endif | 738 #endif |
739 | 739 |
740 // Tear down the exit frame, pop the arguments, and return. | 740 // Tear down the exit frame, pop the arguments, and return. |
741 mov(sp, Operand(fp)); | 741 mov(sp, Operand(fp)); |
742 ldm(ia_w, sp, fp.bit() | lr.bit()); | 742 ldm(ia_w, sp, fp.bit() | lr.bit()); |
743 if (argument_count.is_valid()) { | 743 if (argument_count.is_valid()) { |
744 add(sp, sp, Operand(argument_count, LSL, kPointerSizeLog2)); | 744 add(sp, sp, Operand(argument_count, LSL, kPointerSizeLog2)); |
745 } | 745 } |
746 } | 746 } |
747 | 747 |
748 void MacroAssembler::GetCFunctionDoubleResult(const DoubleRegister dst) { | |
749 #if !defined(USE_ARM_EABI) | |
750 UNIMPLEMENTED(); | |
Søren Thygesen Gjesse
2011/02/23 09:35:01
UNIMPLEMENTED -> UNREACHABLE
I think we should fo
| |
751 #else | |
752 vmov(dst, r0, r1); | |
753 #endif | |
754 } | |
755 | |
748 | 756 |
749 void MacroAssembler::InvokePrologue(const ParameterCount& expected, | 757 void MacroAssembler::InvokePrologue(const ParameterCount& expected, |
750 const ParameterCount& actual, | 758 const ParameterCount& actual, |
751 Handle<Code> code_constant, | 759 Handle<Code> code_constant, |
752 Register code_reg, | 760 Register code_reg, |
753 Label* done, | 761 Label* done, |
754 InvokeFlag flag, | 762 InvokeFlag flag, |
755 PostCallGenerator* post_call_generator) { | 763 PostCallGenerator* post_call_generator) { |
756 bool definitely_matches = false; | 764 bool definitely_matches = false; |
757 Label regular_invoke; | 765 Label regular_invoke; |
(...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2549 void CodePatcher::EmitCondition(Condition cond) { | 2557 void CodePatcher::EmitCondition(Condition cond) { |
2550 Instr instr = Assembler::instr_at(masm_.pc_); | 2558 Instr instr = Assembler::instr_at(masm_.pc_); |
2551 instr = (instr & ~kCondMask) | cond; | 2559 instr = (instr & ~kCondMask) | cond; |
2552 masm_.emit(instr); | 2560 masm_.emit(instr); |
2553 } | 2561 } |
2554 | 2562 |
2555 | 2563 |
2556 } } // namespace v8::internal | 2564 } } // namespace v8::internal |
2557 | 2565 |
2558 #endif // V8_TARGET_ARCH_ARM | 2566 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |