diff src/cpu/x86/vm/nativeInst_x86.cpp @ 13223:78c808233ff1

ensure instruction at verified entry point is safely patchable (GRAAL-605)
author Doug Simon <doug.simon@oracle.com>
date Mon, 02 Dec 2013 17:03:22 +0100
parents cd3d6a6b95d9
children 52b4284cb496
line wrap: on
line diff
--- a/src/cpu/x86/vm/nativeInst_x86.cpp	Mon Dec 02 13:46:05 2013 +0100
+++ b/src/cpu/x86/vm/nativeInst_x86.cpp	Mon Dec 02 17:03:22 2013 +0100
@@ -472,6 +472,7 @@
 //
 // In C2 the 5+ byte sized instruction is enforced by code in MachPrologNode::emit.
 // In C1 the restriction is enforced by CodeEmitter::method_entry
+// In Graal, the restriction is enforced by HotSpotFrameContext.enter(...)
 //
 void NativeJump::patch_verified_entry(address entry, address verified_entry, address dest) {
   // complete jump instruction (to be inserted) is in code_buffer;