Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index c8f1c04a6d7532d705eaa8b4df1b8df6808b0a32..642e11f44173dae8238e11128fd23ca9ce0bbe80 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -8824,9 +8824,6 @@ ModuloFunction CreateModuloFunction() { |
CodeDesc desc; |
masm.GetCode(&desc); |
- // Make sure that the compiled code is visible to all threads before |
- // returning the pointer to it. |
- MemoryBarrier(); |
// Call the function from C++ through this pointer. |
return FUNCTION_CAST<ModuloFunction>(buffer); |
} |