Skip to content

Commit 980c503

Browse files
iamstolisabdelberni
authored andcommitted
Removing a redundant/incorrect cast to JSDynamicObject.
(cherry picked from commit 8addafc)
1 parent 0c22a18 commit 980c503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/builtins/ArrayPrototypeBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2444,7 +2444,7 @@ private static final class InnerFlattenCallNode extends JavaScriptRootNode {
24442444
@Override
24452445
public Object execute(VirtualFrame frame) {
24462446
Object[] arguments = frame.getArguments();
2447-
JSDynamicObject resultArray = (JSDynamicObject) arguments[0];
2447+
Object resultArray = arguments[0];
24482448
Object element = arguments[1];
24492449
long elementLen = (long) arguments[2];
24502450
long targetIndex = (long) arguments[3];

0 commit comments

Comments
 (0)