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 2080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2091 // the snapshot. | 2091 // the snapshot. |
2092 HandleScope scope(this); | 2092 HandleScope scope(this); |
2093 Deoptimizer::EnsureCodeForDeoptimizationEntry( | 2093 Deoptimizer::EnsureCodeForDeoptimizationEntry( |
2094 Deoptimizer::LAZY, | 2094 Deoptimizer::LAZY, |
2095 kDeoptTableSerializeEntryCount - 1); | 2095 kDeoptTableSerializeEntryCount - 1); |
2096 } | 2096 } |
2097 | 2097 |
2098 if (!Serializer::enabled()) { | 2098 if (!Serializer::enabled()) { |
2099 // Ensure that the stub failure trampoline has been generated. | 2099 // Ensure that the stub failure trampoline has been generated. |
2100 HandleScope scope(this); | 2100 HandleScope scope(this); |
| 2101 CodeStub::GenerateFPStubs(); |
2101 StubFailureTrampolineStub().GetCode(); | 2102 StubFailureTrampolineStub().GetCode(); |
2102 } | 2103 } |
2103 | 2104 |
2104 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); | 2105 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); |
2105 return true; | 2106 return true; |
2106 } | 2107 } |
2107 | 2108 |
2108 | 2109 |
2109 // Initialized lazily to allow early | 2110 // Initialized lazily to allow early |
2110 // v8::V8::SetAddHistogramSampleFunction calls. | 2111 // v8::V8::SetAddHistogramSampleFunction calls. |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2223 | 2224 |
2224 #ifdef DEBUG | 2225 #ifdef DEBUG |
2225 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2226 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
2226 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2227 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
2227 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2228 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
2228 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2229 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
2229 #undef ISOLATE_FIELD_OFFSET | 2230 #undef ISOLATE_FIELD_OFFSET |
2230 #endif | 2231 #endif |
2231 | 2232 |
2232 } } // namespace v8::internal | 2233 } } // namespace v8::internal |
OLD | NEW |