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 3462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3473 __ bind(&call_runtime); | 3473 __ bind(&call_runtime); |
3474 __ TailCallRuntime(Runtime::kMath_pow_cfunction, 2, 1); | 3474 __ TailCallRuntime(Runtime::kMath_pow_cfunction, 2, 1); |
3475 } | 3475 } |
3476 | 3476 |
3477 | 3477 |
3478 bool CEntryStub::NeedsImmovableCode() { | 3478 bool CEntryStub::NeedsImmovableCode() { |
3479 return true; | 3479 return true; |
3480 } | 3480 } |
3481 | 3481 |
3482 | 3482 |
| 3483 bool CEntryStub::CompilingCallsToThisStubIsGCSafe() { |
| 3484 return !save_doubles_ && result_size_ == 1; |
| 3485 } |
| 3486 |
| 3487 |
| 3488 void CodeStub::GenerateStubsAheadOfTime() { |
| 3489 } |
| 3490 |
| 3491 |
3483 void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) { | 3492 void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) { |
3484 __ Throw(v0); | 3493 __ Throw(v0); |
3485 } | 3494 } |
3486 | 3495 |
3487 | 3496 |
3488 void CEntryStub::GenerateThrowUncatchable(MacroAssembler* masm, | 3497 void CEntryStub::GenerateThrowUncatchable(MacroAssembler* masm, |
3489 UncatchableExceptionType type) { | 3498 UncatchableExceptionType type) { |
3490 __ ThrowUncatchable(type, v0); | 3499 __ ThrowUncatchable(type, v0); |
3491 } | 3500 } |
3492 | 3501 |
(...skipping 3482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6975 __ mov(result, zero_reg); | 6984 __ mov(result, zero_reg); |
6976 __ Ret(); | 6985 __ Ret(); |
6977 } | 6986 } |
6978 | 6987 |
6979 | 6988 |
6980 #undef __ | 6989 #undef __ |
6981 | 6990 |
6982 } } // namespace v8::internal | 6991 } } // namespace v8::internal |
6983 | 6992 |
6984 #endif // V8_TARGET_ARCH_MIPS | 6993 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |