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 2138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2149 // deopt entry table that might have been referred to by optimized code in | 2149 // deopt entry table that might have been referred to by optimized code in |
2150 // the snapshot. | 2150 // the snapshot. |
2151 HandleScope scope(this); | 2151 HandleScope scope(this); |
2152 Deoptimizer::EnsureCodeForDeoptimizationEntry( | 2152 Deoptimizer::EnsureCodeForDeoptimizationEntry( |
2153 this, | 2153 this, |
2154 Deoptimizer::LAZY, | 2154 Deoptimizer::LAZY, |
2155 kDeoptTableSerializeEntryCount - 1); | 2155 kDeoptTableSerializeEntryCount - 1); |
2156 } | 2156 } |
2157 | 2157 |
2158 if (!Serializer::enabled()) { | 2158 if (!Serializer::enabled()) { |
2159 // Ensure that the stub failure trampoline has been generated. | 2159 // Ensure that the stub failure trampoline has been generated. |
Michael Starzinger
2013/03/06 16:01:04
The comment is outdated, this ensures that all stu
| |
2160 HandleScope scope(this); | 2160 HandleScope scope(this); |
2161 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this); | |
2161 CodeStub::GenerateFPStubs(this); | 2162 CodeStub::GenerateFPStubs(this); |
2162 StubFailureTrampolineStub::GenerateAheadOfTime(this); | 2163 StubFailureTrampolineStub::GenerateAheadOfTime(this); |
2163 } | 2164 } |
2164 | 2165 |
2165 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); | 2166 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); |
2166 | 2167 |
2167 if (FLAG_parallel_marking && FLAG_marking_threads == 0) { | 2168 if (FLAG_parallel_marking && FLAG_marking_threads == 0) { |
2168 FLAG_marking_threads = SystemThreadManager:: | 2169 FLAG_marking_threads = SystemThreadManager:: |
2169 NumberOfParallelSystemThreads( | 2170 NumberOfParallelSystemThreads( |
2170 SystemThreadManager::PARALLEL_MARKING); | 2171 SystemThreadManager::PARALLEL_MARKING); |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2338 | 2339 |
2339 #ifdef DEBUG | 2340 #ifdef DEBUG |
2340 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2341 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
2341 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2342 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
2342 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2343 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
2343 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2344 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
2344 #undef ISOLATE_FIELD_OFFSET | 2345 #undef ISOLATE_FIELD_OFFSET |
2345 #endif | 2346 #endif |
2346 | 2347 |
2347 } } // namespace v8::internal | 2348 } } // namespace v8::internal |
OLD | NEW |