Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Side by Side Diff: src/isolate.cc

Issue 12093041: Fixed non-snapshot builds. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after
2086 time_millis_at_init_ = OS::TimeCurrentMillis(); 2086 time_millis_at_init_ = OS::TimeCurrentMillis();
2087 2087
2088 if (!create_heap_objects) { 2088 if (!create_heap_objects) {
2089 // Now that the heap is consistent, it's OK to generate the code for the 2089 // Now that the heap is consistent, it's OK to generate the code for the
2090 // deopt entry table that might have been referred to by optimized code in 2090 // deopt entry table that might have been referred to by optimized code in
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
2098 if (!Serializer::enabled()) {
2097 // Ensure that the stub failure trampoline has been generated. 2099 // Ensure that the stub failure trampoline has been generated.
2100 HandleScope scope(this);
2098 StubFailureTrampolineStub().GetCode(); 2101 StubFailureTrampolineStub().GetCode();
2099 } 2102 }
2100 2103
2101 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); 2104 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start();
2102 return true; 2105 return true;
2103 } 2106 }
2104 2107
2105 2108
2106 // Initialized lazily to allow early 2109 // Initialized lazily to allow early
2107 // v8::V8::SetAddHistogramSampleFunction calls. 2110 // v8::V8::SetAddHistogramSampleFunction calls.
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2220 2223
2221 #ifdef DEBUG 2224 #ifdef DEBUG
2222 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2225 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2223 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2226 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2224 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2227 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2225 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2228 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2226 #undef ISOLATE_FIELD_OFFSET 2229 #undef ISOLATE_FIELD_OFFSET
2227 #endif 2230 #endif
2228 2231
2229 } } // namespace v8::internal 2232 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698