@Override public Object execute(VirtualFrame frame) { BoxedValue boxed = (BoxedValue) ForeignAccess.getReceiver(frame); return boxed.value; } });
@Override @SuppressWarnings("deprecation") protected Object executeImpl(VirtualFrame frame) { final TruffleObject receiver = ForeignAccess.getReceiver(frame); final Object[] args = ForeignAccess.getArguments(frame).toArray(); unwrapArgs(engine, args); Object tmp = ForeignAccess.execute(messageNode, null, receiver, args); return returnConvertNode.convert(tmp); } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof VarNamesGetSizeSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof HasKeysSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof ArgsArrGetSizeSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof VarNamesGetSizeSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof IsExecutableObjectSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof ArrayGetSizeSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof IsInstantiableObjectSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof SymbolsKeysSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof StructuredDataEntryHasKeysSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof StructuredDataHasSizeSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof ComplexHasSizeSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof VarNamesGetSizeSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof TruffleReadOnlyMapKeysObjectGetSizeSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof RegexResultStartGetSizeSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof SymbolsKeysSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof IsExecutableObjectSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof VarsMapHasKeysSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }
@Override public Object execute(VirtualFrame frame) { Object receiver = ForeignAccess.getReceiver(frame); try { return node.executeWithTarget(frame, receiver); } catch (UnsupportedSpecializationException e) { if (e.getNode() instanceof IsNullSubNode) { throw UnsupportedTypeException.raise(e, e.getSuppliedValues()); } else { throw e; } } }