Skip to content

Commit c541f0e

Browse files
committed
[GR-22495] Enable checking blacklisted methods on SVM build
PullRequest: graalpython/925
2 parents 02caf89 + b674d18 commit c541f0e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cell/PCell.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void setRef(Object ref, Assumption constantAssumption) {
9191
assert constantAssumption == effectivelyFinal;
9292
if (constantAssumption.isValid()) {
9393
if (this.ref != null) {
94-
constantAssumption.invalidate();
94+
invalidateAssumption(constantAssumption);
9595
}
9696
}
9797
this.ref = ref;

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ def update_import_cmd(args):
965965

966966
with open(join(overlaydir, "python", "vm-tests.json"), 'w') as fp:
967967
json.dump(d, fp, indent=2)
968-
968+
969969
repos_updated = []
970970

971971
# now allow dependent repos to hook into update
@@ -1266,8 +1266,7 @@ def verify_ci(dest_suite, common_ci_dir="ci_common", args=None, ext=('.jsonnet',
12661266
jar_distributions=['graalpython:GRAALPYTHON-LAUNCHER'],
12671267
main_class='com.oracle.graal.python.shell.GraalPythonMain',
12681268
# build_args=['-H:+RemoveSaturatedTypeFlows'],
1269-
# build_args=['-H:+TruffleCheckBlackListedMethods'],
1270-
build_args=[],
1269+
build_args=['-H:+TruffleCheckBlackListedMethods'],
12711270
language='python',
12721271
)
12731272
],

0 commit comments

Comments
 (0)