Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index a2b976d4accd2447eae2de7e1344fe5340a60d27..2bc1455c04ca36e361dd8d7032245ed6355fc992 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -95,13 +95,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)); |