Skip to content

Commit

Permalink
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions spec/truffle/tags/core/encoding/default_external_tags.txt
Original file line number Diff line number Diff line change
@@ -3,3 +3,4 @@ windows:Encoding.default_external with command line options returns the encoding
slow:Encoding.default_external with command line options is not changed by the -U option
slow:Encoding.default_external with command line options returns the encoding specified by '-E external'
slow:Encoding.default_external with command line options returns the encoding specified by '-E external:'
fails:Encoding.default_external with command line options is not changed by the -U option
Original file line number Diff line number Diff line change
@@ -77,8 +77,8 @@ public CompareAndSetNode(RubyContext context, SourceSection sourceSection) {
}

@Specialization
public boolean compareAndSet(DynamicObject self, Object expected_value, Object value) {
return Layouts.ATOMIC_REFERENCE.compareAndSetValue(self, expected_value, value);
public boolean compareAndSet(DynamicObject self, Object expectedValue, Object value) {
return Layouts.ATOMIC_REFERENCE.compareAndSetValue(self, expectedValue, value);
}
}

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ DynamicObject createAtomicReference(DynamicObjectFactory factory,

Object getValue(DynamicObject object);
void setValue(DynamicObject object, Object value);
boolean compareAndSetValue(DynamicObject object, Object expected_value, Object value);
boolean compareAndSetValue(DynamicObject object, Object expectedValue, Object value);
Object getAndSetValue(DynamicObject object, Object value);

}

0 comments on commit 5947ae1

Please sign in to comment.