diff src/cpu/x86/vm/assembler_x86_32.hpp @ 168:7793bd37a336

6705887: Compressed Oops: generate x64 addressing and implicit null checks with narrow oops Summary: Generate addresses and implicit null checks with narrow oops to avoid decoding. Reviewed-by: jrose, never
author kvn
date Thu, 29 May 2008 12:04:14 -0700
parents 3d62cb85208d
children d1605aabd0a1 6aae2f9d0294
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86_32.hpp	Wed May 28 21:06:24 2008 -0700
+++ b/src/cpu/x86/vm/assembler_x86_32.hpp	Thu May 29 12:04:14 2008 -0700
@@ -1054,7 +1054,7 @@
   // range (0 <= offset <= page_size).
 
   void null_check(Register reg, int offset = -1);
-  static bool needs_explicit_null_check(int offset);
+  static bool needs_explicit_null_check(intptr_t offset);
 
   // Required platform-specific helpers for Label::patch_instructions.
   // They _shadow_ the declarations in AbstractAssembler, which are undefined.