Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/assembler_x86_64.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 | feeb96a45707 |
children | 44abbb0d4c18 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86_64.hpp Wed May 28 21:06:24 2008 -0700 +++ b/src/cpu/x86/vm/assembler_x86_64.hpp Thu May 29 12:04:14 2008 -0700 @@ -1028,7 +1028,7 @@ // is needed if the offset is within a certain 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.