| 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 2362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2373 case TranscendentalCache::COS: return Runtime::kMath_cos; | 2373 case TranscendentalCache::COS: return Runtime::kMath_cos; |
| 2374 case TranscendentalCache::TAN: return Runtime::kMath_tan; | 2374 case TranscendentalCache::TAN: return Runtime::kMath_tan; |
| 2375 case TranscendentalCache::LOG: return Runtime::kMath_log; | 2375 case TranscendentalCache::LOG: return Runtime::kMath_log; |
| 2376 default: | 2376 default: |
| 2377 UNIMPLEMENTED(); | 2377 UNIMPLEMENTED(); |
| 2378 return Runtime::kAbort; | 2378 return Runtime::kAbort; |
| 2379 } | 2379 } |
| 2380 } | 2380 } |
| 2381 | 2381 |
| 2382 | 2382 |
| 2383 void StackCheckStub::Generate(MacroAssembler* masm) { | |
| 2384 __ TailCallRuntime(Runtime::kStackGuard, 0, 1); | |
| 2385 } | |
| 2386 | |
| 2387 | |
| 2388 void InterruptStub::Generate(MacroAssembler* masm) { | |
| 2389 __ TailCallRuntime(Runtime::kInterrupt, 0, 1); | |
| 2390 } | |
| 2391 | |
| 2392 | |
| 2393 void MathPowStub::Generate(MacroAssembler* masm) { | 2383 void MathPowStub::Generate(MacroAssembler* masm) { |
| 2394 const Register base = a1; | 2384 const Register base = a1; |
| 2395 const Register exponent = a2; | 2385 const Register exponent = a2; |
| 2396 const Register heapnumbermap = t1; | 2386 const Register heapnumbermap = t1; |
| 2397 const Register heapnumber = v0; | 2387 const Register heapnumber = v0; |
| 2398 const DoubleRegister double_base = f2; | 2388 const DoubleRegister double_base = f2; |
| 2399 const DoubleRegister double_exponent = f4; | 2389 const DoubleRegister double_exponent = f4; |
| 2400 const DoubleRegister double_result = f0; | 2390 const DoubleRegister double_result = f0; |
| 2401 const DoubleRegister double_scratch = f6; | 2391 const DoubleRegister double_scratch = f6; |
| 2402 const FPURegister single_scratch = f8; | 2392 const FPURegister single_scratch = f8; |
| (...skipping 4739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7142 __ bind(&fast_elements_case); | 7132 __ bind(&fast_elements_case); |
| 7143 GenerateCase(masm, FAST_ELEMENTS); | 7133 GenerateCase(masm, FAST_ELEMENTS); |
| 7144 } | 7134 } |
| 7145 | 7135 |
| 7146 | 7136 |
| 7147 #undef __ | 7137 #undef __ |
| 7148 | 7138 |
| 7149 } } // namespace v8::internal | 7139 } } // namespace v8::internal |
| 7150 | 7140 |
| 7151 #endif // V8_TARGET_ARCH_MIPS | 7141 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |