Chromium Code Reviews

Unified Diff: src/mips/assembler-mips.h

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.
Jump to:
View side-by-side diff with in-line comments
Index: src/mips/assembler-mips.h
diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h
index 8c186c14b0d7258175c35ff611b476d19f121925..dfb2e1a6e0764e83130cd256defd93854f33e9cd 100644
--- a/src/mips/assembler-mips.h
+++ b/src/mips/assembler-mips.h
@@ -441,10 +441,10 @@ class CpuFeatures : public AllStatic {
return Check(f, found_by_runtime_probing_only_);
}
- static bool IsSafeForSnapshot(CpuFeature f) {
+ static bool IsSafeForSnapshot(Isolate* isolate, CpuFeature f) {
return Check(f, cross_compile_) ||
(IsSupported(f) &&
- (!Serializer::enabled() || !IsFoundByRuntimeProbingOnly(f)));
+ (!Serializer::enabled(isolate) || !IsFoundByRuntimeProbingOnly(f)));
}
static bool VerifyCrossCompiling() {
« no previous file with comments | « src/lithium-allocator.cc ('k') | src/mips/assembler-mips.cc » ('j') | src/objects-visiting-inl.h » ('J')

Powered by Google App Engine