Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 42014ff

Browse filesBrowse files
author
hborders
committed
Removed BUILTIN and INTRINSIC annotations.
1 parent 2e1fb22 commit 42014ff
Copy full SHA for 42014ff

1 file changed

-18Lines changed: 0 additions & 18 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎JavaInJava/src/com/sun/max/unsafe/Address.java‎

Copy file name to clipboardExpand all lines: JavaInJava/src/com/sun/max/unsafe/Address.java
-18Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,11 @@
2020
*/
2121
package com.sun.max.unsafe;
2222

23-
import static com.sun.cri.bytecode.Bytecodes.*;
24-
import static com.sun.cri.bytecode.Bytecodes.UnsignedComparisons.*;
25-
import static com.sun.max.vm.MaxineVM.*;
26-
2723
import java.math.*;
2824

29-
import com.sun.cri.bytecode.*;
3025
import com.sun.max.annotate.*;
3126
import com.sun.max.lang.*;
3227
import com.sun.max.program.*;
33-
import com.sun.max.vm.compiler.builtin.*;
3428

3529
/**
3630
* A machine word interpreted as a linear address.
@@ -219,42 +213,30 @@ public Address times(int factor) {
219213
return asOffset().times(factor).asAddress();
220214
}
221215

222-
@BUILTIN(value = AddressBuiltin.DividedByAddress.class)
223-
@INTRINSIC(WDIV)
224216
protected abstract Address dividedByAddress(Address divisor);
225217

226218
@INLINE(override = true)
227-
@INTRINSIC(WDIV)
228219
public Address dividedBy(Address divisor) {
229220
return dividedByAddress(divisor);
230221
}
231222

232-
@BUILTIN(value = AddressBuiltin.DividedByInt.class)
233-
@INTRINSIC(WDIVI)
234223
protected abstract Address dividedByInt(int divisor);
235224

236225
@INLINE(override = true)
237-
@INTRINSIC(WDIVI)
238226
public Address dividedBy(int divisor) {
239227
return dividedByInt(divisor);
240228
}
241229

242-
@BUILTIN(value = AddressBuiltin.RemainderByAddress.class)
243-
@INTRINSIC(WREM)
244230
protected abstract Address remainderByAddress(Address divisor);
245231

246232
@INLINE(override = true)
247-
@INTRINSIC(WREM)
248233
public Address remainder(Address divisor) {
249234
return remainderByAddress(divisor);
250235
}
251236

252-
@BUILTIN(value = AddressBuiltin.RemainderByInt.class)
253-
@INTRINSIC(WREMI)
254237
protected abstract int remainderByInt(int divisor);
255238

256239
@INLINE(override = true)
257-
@INTRINSIC(WREMI)
258240
public final int remainder(int divisor) {
259241
return remainderByInt(divisor);
260242
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.