Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
663:032c6af894da | 686:a9d9d7e06593 |
---|---|
635 // | 635 // |
636 // Result: | 636 // Result: |
637 address generate_orderaccess_fence() { | 637 address generate_orderaccess_fence() { |
638 StubCodeMark mark(this, "StubRoutines", "orderaccess_fence"); | 638 StubCodeMark mark(this, "StubRoutines", "orderaccess_fence"); |
639 address start = __ pc(); | 639 address start = __ pc(); |
640 __ mfence(); | 640 __ membar(Assembler::StoreLoad); |
641 __ ret(0); | 641 __ ret(0); |
642 | 642 |
643 return start; | 643 return start; |
644 } | 644 } |
645 | 645 |