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 2473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2484 case TranscendentalCache::COS: return Runtime::kMath_cos; | 2484 case TranscendentalCache::COS: return Runtime::kMath_cos; |
2485 case TranscendentalCache::TAN: return Runtime::kMath_tan; | 2485 case TranscendentalCache::TAN: return Runtime::kMath_tan; |
2486 case TranscendentalCache::LOG: return Runtime::kMath_log; | 2486 case TranscendentalCache::LOG: return Runtime::kMath_log; |
2487 default: | 2487 default: |
2488 UNIMPLEMENTED(); | 2488 UNIMPLEMENTED(); |
2489 return Runtime::kAbort; | 2489 return Runtime::kAbort; |
2490 } | 2490 } |
2491 } | 2491 } |
2492 | 2492 |
2493 | 2493 |
2494 void StackCheckStub::Generate(MacroAssembler* masm) { | |
2495 __ TailCallRuntime(Runtime::kStackGuard, 0, 1); | |
2496 } | |
2497 | |
2498 | |
2499 void InterruptStub::Generate(MacroAssembler* masm) { | |
2500 __ TailCallRuntime(Runtime::kInterrupt, 0, 1); | |
2501 } | |
2502 | |
2503 | |
2504 void MathPowStub::Generate(MacroAssembler* masm) { | 2494 void MathPowStub::Generate(MacroAssembler* masm) { |
2505 const Register base = r1; | 2495 const Register base = r1; |
2506 const Register exponent = r2; | 2496 const Register exponent = r2; |
2507 const Register heapnumbermap = r5; | 2497 const Register heapnumbermap = r5; |
2508 const Register heapnumber = r0; | 2498 const Register heapnumber = r0; |
2509 const DwVfpRegister double_base = d1; | 2499 const DwVfpRegister double_base = d1; |
2510 const DwVfpRegister double_exponent = d2; | 2500 const DwVfpRegister double_exponent = d2; |
2511 const DwVfpRegister double_result = d3; | 2501 const DwVfpRegister double_result = d3; |
2512 const DwVfpRegister double_scratch = d0; | 2502 const DwVfpRegister double_scratch = d0; |
2513 const SwVfpRegister single_scratch = s0; | 2503 const SwVfpRegister single_scratch = s0; |
(...skipping 4634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7148 __ bind(&fast_elements_case); | 7138 __ bind(&fast_elements_case); |
7149 GenerateCase(masm, FAST_ELEMENTS); | 7139 GenerateCase(masm, FAST_ELEMENTS); |
7150 } | 7140 } |
7151 | 7141 |
7152 | 7142 |
7153 #undef __ | 7143 #undef __ |
7154 | 7144 |
7155 } } // namespace v8::internal | 7145 } } // namespace v8::internal |
7156 | 7146 |
7157 #endif // V8_TARGET_ARCH_ARM | 7147 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |