Skip to content

Commit ed1a108

Browse files
committed
Adapt PolyBenchLauncher to GraalWasm API changes.
1 parent c33597b commit ed1a108

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vm/src/org.graalvm.polybench/src/org/graalvm/polybench/PolyBenchLauncher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -591,7 +591,7 @@ public void run() {
591591
// language-specific lookup
592592
switch (languageId) {
593593
case "wasm":
594-
result = evalSourceValue.getMember(memberName);
594+
result = evalSourceValue.newInstance().getMember("exports").getMember(memberName);
595595
break;
596596
case "java":
597597
// Espresso doesn't provide methods as executable values.

0 commit comments

Comments
 (0)