<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"> Hi all <br><br> when i compiled llvm-3.0 with icedtea1.11.4
together,A memory_barrier error happened ,And now I write to all of you
for the following questions need your help and suggestion :<br> 1, Is any function which can replace the "make_function" in the following function,<br> 2 , Or is there any different paramters in make_function with the similar action with the following one <br> 3 ,Is there a function similar with "nop" which can return a address in LLVM or Shark ,<br><br> <span style="color: rgb(0, 0, 128);"><span style="color: rgb(0, 0, 128);"></span><b><span style="color: rgb(0, 0, 128);">Value* SharkBuilder::memory_barrier() {</span><br><span style="color: rgb(0, 0, 128);"> return make_function(</span><br><span style="color: rgb(0, 0, 128);">#if defined(ARM)</span><br><span style="color: rgb(0, 0, 128);"> (address) 0xffff0fa0, // __kernel_dmb</span><br><span style="color: rgb(0, 0, 128);"> #else</span><br><span style="color: rgb(0, 0, 1!
28);"> "llvm.memory.barrier",</span><br><span style="color: rgb(0, 0, 128);"> #endif // ARM</span><br><span style="color: rgb(0, 0, 128);"> "11111", "v"); </span><br><span style="color: rgb(0, 0, 128);"> }</span><br><br><span style="color: rgb(0, 0, 128);">what's more the Dir of the function is :/openjdk-ecj/hotspot/src/share/vm/shark/sharkBuild.cpp </span></b></span><br><br>Thank you very much and looking forward to your reply <br><br>BR//Amiko </div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>