Created
October 30, 2011 18:55
-
-
Save butaji/1326275 to your computer and use it in GitHub Desktop.
AtomicLong.lazySet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool GraphBuilder::append_unsafe_put_obj(ciMethod* callee, BasicType t, bool is_volatile) { | |
if (InlineUnsafeOps) { | |
Values* args = state()->pop_arguments(callee->arg_size()); | |
null_check(args->at(0)); | |
Instruction* offset = args->at(2); | |
#ifndef _LP64 | |
offset = append(new Convert(Bytecodes::_l2i, offset, as_ValueType(T_INT))); | |
#endif | |
Instruction* op = append(new UnsafePutObject(t, args->at(1), offset, args->at(3), is_volatile)); | |
compilation()->set_has_unsafe_access(true); | |
kill_all(); | |
} | |
return InlineUnsafeOps; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment