@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; } } }
private MumblerFunction evaluateFunction(VirtualFrame virtualFrame) { try { return this.functionNode.executeMumblerFunction(virtualFrame); } catch (UnexpectedResultException e) { throw new UnsupportedSpecializationException(this, new Node[] {this.functionNode}, 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; } } }
protected Object unsupported(Frame frame, Object o1, Object o2) { throw new UnsupportedSpecializationException(findRoot(), getSuppliedChildren(), o1, o2); }
@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; } } }