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 3306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3317 Isolate::Current()->builtins()->ArgumentsAdaptorTrampoline(); | 3317 Isolate::Current()->builtins()->ArgumentsAdaptorTrampoline(); |
3318 __ Jump(adaptor, RelocInfo::CODE_TARGET); | 3318 __ Jump(adaptor, RelocInfo::CODE_TARGET); |
3319 } | 3319 } |
3320 | 3320 |
3321 | 3321 |
3322 bool CEntryStub::NeedsImmovableCode() { | 3322 bool CEntryStub::NeedsImmovableCode() { |
3323 return false; | 3323 return false; |
3324 } | 3324 } |
3325 | 3325 |
3326 | 3326 |
| 3327 bool CEntryStub::CompilingCallsToThisStubIsGCSafe() { |
| 3328 return result_size_ == 1; |
| 3329 } |
| 3330 |
| 3331 |
| 3332 void CodeStub::GenerateStubsAheadOfTime() { |
| 3333 CEntryStub save_doubles(1); |
| 3334 save_doubles.SaveDoubles(); |
| 3335 save_doubles.GetCode(); |
| 3336 } |
| 3337 |
| 3338 |
3327 void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) { | 3339 void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) { |
3328 // Throw exception in eax. | 3340 // Throw exception in eax. |
3329 __ Throw(rax); | 3341 __ Throw(rax); |
3330 } | 3342 } |
3331 | 3343 |
3332 | 3344 |
3333 void CEntryStub::GenerateCore(MacroAssembler* masm, | 3345 void CEntryStub::GenerateCore(MacroAssembler* masm, |
3334 Label* throw_normal_exception, | 3346 Label* throw_normal_exception, |
3335 Label* throw_termination_exception, | 3347 Label* throw_termination_exception, |
3336 Label* throw_out_of_memory_exception, | 3348 Label* throw_out_of_memory_exception, |
(...skipping 2161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5498 __ Drop(1); | 5510 __ Drop(1); |
5499 __ ret(2 * kPointerSize); | 5511 __ ret(2 * kPointerSize); |
5500 } | 5512 } |
5501 | 5513 |
5502 | 5514 |
5503 #undef __ | 5515 #undef __ |
5504 | 5516 |
5505 } } // namespace v8::internal | 5517 } } // namespace v8::internal |
5506 | 5518 |
5507 #endif // V8_TARGET_ARCH_X64 | 5519 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |