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 2119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2130 // the snapshot. | 2130 // the snapshot. |
2131 HandleScope scope(this); | 2131 HandleScope scope(this); |
2132 Deoptimizer::EnsureCodeForDeoptimizationEntry( | 2132 Deoptimizer::EnsureCodeForDeoptimizationEntry( |
2133 Deoptimizer::LAZY, | 2133 Deoptimizer::LAZY, |
2134 kDeoptTableSerializeEntryCount - 1); | 2134 kDeoptTableSerializeEntryCount - 1); |
2135 } | 2135 } |
2136 | 2136 |
2137 if (!Serializer::enabled()) { | 2137 if (!Serializer::enabled()) { |
2138 // Ensure that the stub failure trampoline has been generated. | 2138 // Ensure that the stub failure trampoline has been generated. |
2139 HandleScope scope(this); | 2139 HandleScope scope(this); |
2140 CodeStub::GenerateFPStubs(); | 2140 CodeStub::GenerateFPStubs(this); |
2141 StubFailureTrampolineStub::GenerateAheadOfTime(); | 2141 StubFailureTrampolineStub::GenerateAheadOfTime(this); |
2142 } | 2142 } |
2143 | 2143 |
2144 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); | 2144 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); |
2145 | 2145 |
2146 if (FLAG_parallel_marking) { | 2146 if (FLAG_parallel_marking) { |
2147 if (FLAG_marking_threads < 1) { | 2147 if (FLAG_marking_threads < 1) { |
2148 FLAG_marking_threads = 1; | 2148 FLAG_marking_threads = 1; |
2149 } | 2149 } |
2150 marking_thread_ = new MarkingThread*[FLAG_marking_threads]; | 2150 marking_thread_ = new MarkingThread*[FLAG_marking_threads]; |
2151 for (int i = 0; i < FLAG_marking_threads; i++) { | 2151 for (int i = 0; i < FLAG_marking_threads; i++) { |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2285 | 2285 |
2286 #ifdef DEBUG | 2286 #ifdef DEBUG |
2287 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2287 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
2288 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2288 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
2289 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2289 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
2290 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2290 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
2291 #undef ISOLATE_FIELD_OFFSET | 2291 #undef ISOLATE_FIELD_OFFSET |
2292 #endif | 2292 #endif |
2293 | 2293 |
2294 } } // namespace v8::internal | 2294 } } // namespace v8::internal |
OLD | NEW |