Skip to content

Commit 8b1436d

Browse files
author
hborders
committed
Removed hosted-only code.
1 parent a2b7c60 commit 8b1436d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

JavaInJava/src/com/sun/max/unsafe/Size.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
*/
2121
package com.sun.max.unsafe;
2222

23-
import static com.sun.max.vm.MaxineVM.*;
24-
2523
import com.sun.max.annotate.*;
2624
import com.sun.max.lang.*;
2725

@@ -43,7 +41,7 @@ protected Size() {
4341

4442
@INLINE
4543
public static Size zero() {
46-
return isHosted() ? BoxedSize.ZERO : fromInt(0);
44+
return fromInt(0);
4745
}
4846

4947
public static final Size K = Size.fromInt(Ints.K);

0 commit comments

Comments
 (0)