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

Unified Diff: src/isolate.cc

Issue 260003006: Added a Isolate* parameter to Serializer::enabled(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 9071c0229a940e49659e5f233175b9dbd471cf12..f1674b40e31c6513b5a2187eae34d04334593ca4 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -1807,7 +1807,7 @@ bool Isolate::Init(Deserializer* des) {
has_fatal_error_ = false;
use_crankshaft_ = FLAG_crankshaft
- && !Serializer::enabled()
+ && !Serializer::enabled(this)
&& CpuFeatures::SupportsCrankshaft();
if (function_entry_hook() != NULL) {
@@ -1999,7 +1999,7 @@ bool Isolate::Init(Deserializer* des) {
kDeoptTableSerializeEntryCount - 1);
}
- if (!Serializer::enabled()) {
+ if (!Serializer::enabled(this)) {
// Ensure that all stubs which need to be generated ahead of time, but
// cannot be serialized into the snapshot have been generated.
HandleScope scope(this);
« no previous file with comments | « src/incremental-marking.cc ('k') | src/lithium-allocator.cc » ('j') | src/objects-visiting-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698