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 2677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2688 } | 2688 } |
2689 } | 2689 } |
2690 | 2690 |
2691 | 2691 |
2692 bool CEntryStub::NeedsImmovableCode() { | 2692 bool CEntryStub::NeedsImmovableCode() { |
2693 return true; | 2693 return true; |
2694 } | 2694 } |
2695 | 2695 |
2696 | 2696 |
2697 bool CEntryStub::IsPregenerated() { | 2697 bool CEntryStub::IsPregenerated() { |
2698 return (!save_doubles_ || ISOLATE->fp_stubs_generated()) && | 2698 return (!save_doubles_ || Isolate::Current()->fp_stubs_generated()) && |
2699 result_size_ == 1; | 2699 result_size_ == 1; |
2700 } | 2700 } |
2701 | 2701 |
2702 | 2702 |
2703 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { | 2703 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { |
2704 CEntryStub::GenerateAheadOfTime(isolate); | 2704 CEntryStub::GenerateAheadOfTime(isolate); |
2705 WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime(isolate); | 2705 WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime(isolate); |
2706 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); | 2706 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); |
2707 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); | 2707 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); |
2708 RecordWriteStub::GenerateFixedRegStubsAheadOfTime(isolate); | 2708 RecordWriteStub::GenerateFixedRegStubsAheadOfTime(isolate); |
(...skipping 4425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7134 __ bind(&fast_elements_case); | 7134 __ bind(&fast_elements_case); |
7135 GenerateCase(masm, FAST_ELEMENTS); | 7135 GenerateCase(masm, FAST_ELEMENTS); |
7136 } | 7136 } |
7137 | 7137 |
7138 | 7138 |
7139 #undef __ | 7139 #undef __ |
7140 | 7140 |
7141 } } // namespace v8::internal | 7141 } } // namespace v8::internal |
7142 | 7142 |
7143 #endif // V8_TARGET_ARCH_ARM | 7143 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |