Skip to content

Commit 3255fd0

Browse files
committed
Adjust foreign call limit
1 parent c81d0a9 commit 3255fd0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/call/PythonCallNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ protected GetCallAttributeNode(String key) {
220220
this.key = key;
221221
}
222222

223-
@Specialization(guards = "lib.isForeignObject(object)", limit = "getCallSiteInlineCacheMaxDepth()")
223+
@Specialization(guards = "lib.isForeignObject(object)")
224224
Object getForeignInvoke(TruffleObject object,
225-
@SuppressWarnings("unused") @CachedLibrary("object") PythonObjectLibrary lib) {
225+
@SuppressWarnings("unused") @CachedLibrary(limit = "getCallSiteInlineCacheMaxDepth()") PythonObjectLibrary lib) {
226226
return new ForeignInvoke(object, key);
227227
}
228228

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/PythonParserImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2019, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2020, Oracle and/or its affiliates.
33
* Copyright (c) 2013, Regents of the University of California
44
*
55
* All rights reserved.
@@ -92,7 +92,7 @@ public Node parse(ParserMode mode, ParserErrorCallback errors, Source source, Fr
9292
? chars.toString()
9393
: chars.subSequence(0, 197).toString() + "...");
9494
} else {
95-
System.out.print("Parsing: " + source.getPath());
95+
System.out.println("Parsing: " + source.getPath());
9696
}
9797
}
9898

0 commit comments

Comments
 (0)