Skip to content

Commit

Permalink
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/truffle/pe/core/objectid_pe.rb
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
# GNU General Public License version 2
# GNU Lesser General Public License version 2.1

tagged_example "nil.object_id"
example "nil.object_id"

example "true.object_id"

Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@ public Object objectID(double value) {
return ObjectIDOperations.floatToID(getContext(), value);
}

@Specialization
@Specialization(guards = "!isNil(object)")
public long objectID(DynamicObject object,
@Cached("createReadObjectIDNode()") ReadHeadObjectFieldNode readObjectIdNode,
@Cached("createWriteObjectIDNode()") WriteHeadObjectFieldNode writeObjectIdNode) {

0 comments on commit 9896af7

Please sign in to comment.