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 2706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2717 } | 2717 } |
2718 } | 2718 } |
2719 | 2719 |
2720 | 2720 |
2721 bool CEntryStub::NeedsImmovableCode() { | 2721 bool CEntryStub::NeedsImmovableCode() { |
2722 return true; | 2722 return true; |
2723 } | 2723 } |
2724 | 2724 |
2725 | 2725 |
2726 bool CEntryStub::IsPregenerated() { | 2726 bool CEntryStub::IsPregenerated() { |
2727 return (!save_doubles_ || ISOLATE->fp_stubs_generated()) && | 2727 return (!save_doubles_ || Isolate::Current()->fp_stubs_generated()) && |
2728 result_size_ == 1; | 2728 result_size_ == 1; |
2729 } | 2729 } |
2730 | 2730 |
2731 | 2731 |
2732 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { | 2732 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { |
2733 CEntryStub::GenerateAheadOfTime(isolate); | 2733 CEntryStub::GenerateAheadOfTime(isolate); |
2734 WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime(isolate); | 2734 WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime(isolate); |
2735 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); | 2735 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); |
2736 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); | 2736 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); |
2737 RecordWriteStub::GenerateFixedRegStubsAheadOfTime(isolate); | 2737 RecordWriteStub::GenerateFixedRegStubsAheadOfTime(isolate); |
(...skipping 4517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7255 __ bind(&fast_elements_case); | 7255 __ bind(&fast_elements_case); |
7256 GenerateCase(masm, FAST_ELEMENTS); | 7256 GenerateCase(masm, FAST_ELEMENTS); |
7257 } | 7257 } |
7258 | 7258 |
7259 | 7259 |
7260 #undef __ | 7260 #undef __ |
7261 | 7261 |
7262 } } // namespace v8::internal | 7262 } } // namespace v8::internal |
7263 | 7263 |
7264 #endif // V8_TARGET_ARCH_MIPS | 7264 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |