--- old/src/jdk.internal.vm.compiler/share/classes/org.graalvm.word/src/org/graalvm/word/WordFactory.java 2017-07-07 09:32:00.000000000 -0700 +++ new/src/jdk.internal.vm.compiler/share/classes/org.graalvm.word/src/org/graalvm/word/WordFactory.java 2017-07-07 09:31:59.000000000 -0700 @@ -87,6 +87,17 @@ } /** + * The null pointer, i.e., the pointer with no bits set. There is no difference to a signed or + * unsigned {@link #zero}. + * + * @return the null pointer. + */ + @FactoryOperation(opcode = FactoryOpcode.ZERO) + public static T nullPointer() { + return boxFactory.box(0L); + } + + /** * Unsafe conversion from a Java long value to a Word. The parameter is treated as an unsigned * 64-bit value (in contrast to the semantics of a Java long). *