Skip to content

Commit

Permalink
[Truffle] Rename GlobalVariables keys method
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Fish committed Sep 26, 2016
1 parent f4d0eb8 commit 477bcf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -1785,7 +1785,7 @@ public abstract static class KernelGlobalVariablesPrimitiveNode extends Primitiv

@Specialization
public DynamicObject globalVariables() {
final Collection<String> keys = coreLibrary().getGlobalVariables().dynamicObjectKeys();
final Collection<String> keys = coreLibrary().getGlobalVariables().keys();
final Object[] store = new Object[keys.size()];
int i = 0;
for (String key : keys) {
Expand Down
Expand Up @@ -60,7 +60,7 @@ public void alias(String name, GlobalVariableStorage storage) {
variables.put(name, storage);
}

public Collection<String> dynamicObjectKeys() {
public Collection<String> keys() {
return variables.keySet();
}

Expand Down

0 comments on commit 477bcf3

Please sign in to comment.