Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index 7ad66942ab35e669e01bdf2d1bfeabc4530ea221..c69c8f21e8609a056a5c27d447833706b41a9ed4 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -72,13 +72,12 @@ UnaryMathFunction CreateExpFunction() { |
#if defined(V8_HOST_ARCH_MIPS) |
OS::MemCopyUint8Function CreateMemCopyUint8Function( |
- OS::MemCopyUint8Function stub) { |
+ bool serializer_enabled, |
+ OS::MemCopyUint8Function stub) { |
#if defined(USE_SIMULATOR) |
return stub; |
#else |
- if (Serializer::enabled()) { |
- return stub; |
- } |
+ if (serializer_enabled) return stub; |
size_t actual_size; |
byte* buffer = static_cast<byte*>(OS::Allocate(3 * KB, &actual_size, true)); |