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 4413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4424 __ jmp(arguments_adaptor, RelocInfo::CODE_TARGET); | 4424 __ jmp(arguments_adaptor, RelocInfo::CODE_TARGET); |
4425 } | 4425 } |
4426 | 4426 |
4427 | 4427 |
4428 bool CEntryStub::NeedsImmovableCode() { | 4428 bool CEntryStub::NeedsImmovableCode() { |
4429 return false; | 4429 return false; |
4430 } | 4430 } |
4431 | 4431 |
4432 | 4432 |
4433 bool CEntryStub::IsPregenerated() { | 4433 bool CEntryStub::IsPregenerated() { |
4434 return (!save_doubles_ || ISOLATE->fp_stubs_generated()) && | 4434 return (!save_doubles_ || Isolate::Current()->fp_stubs_generated()) && |
4435 result_size_ == 1; | 4435 result_size_ == 1; |
4436 } | 4436 } |
4437 | 4437 |
4438 | 4438 |
4439 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { | 4439 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { |
4440 CEntryStub::GenerateAheadOfTime(isolate); | 4440 CEntryStub::GenerateAheadOfTime(isolate); |
4441 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); | 4441 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); |
4442 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); | 4442 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); |
4443 // It is important that the store buffer overflow stubs are generated first. | 4443 // It is important that the store buffer overflow stubs are generated first. |
4444 RecordWriteStub::GenerateFixedRegStubsAheadOfTime(isolate); | 4444 RecordWriteStub::GenerateFixedRegStubsAheadOfTime(isolate); |
(...skipping 3085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7530 __ bind(&fast_elements_case); | 7530 __ bind(&fast_elements_case); |
7531 GenerateCase(masm, FAST_ELEMENTS); | 7531 GenerateCase(masm, FAST_ELEMENTS); |
7532 } | 7532 } |
7533 | 7533 |
7534 | 7534 |
7535 #undef __ | 7535 #undef __ |
7536 | 7536 |
7537 } } // namespace v8::internal | 7537 } } // namespace v8::internal |
7538 | 7538 |
7539 #endif // V8_TARGET_ARCH_IA32 | 7539 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |