diff src/cpu/x86/vm/stubGenerator_x86_64.cpp @ 686:a9d9d7e06593

Merge
author trims
date Thu, 02 Apr 2009 17:01:00 -0700
parents d0994e5bebce
children df6caf649ff7
line wrap: on
line diff
--- a/src/cpu/x86/vm/stubGenerator_x86_64.cpp	Wed Apr 01 22:31:26 2009 -0700
+++ b/src/cpu/x86/vm/stubGenerator_x86_64.cpp	Thu Apr 02 17:01:00 2009 -0700
@@ -637,7 +637,7 @@
   address generate_orderaccess_fence() {
     StubCodeMark mark(this, "StubRoutines", "orderaccess_fence");
     address start = __ pc();
-    __ mfence();
+    __ membar(Assembler::StoreLoad);
     __ ret(0);
 
     return start;