@Specialization public Object construct(VirtualFrame frame, RubyHash hash, Object index) { final Object value = hash.get(index); if (value == null) { if (hash.defaultBlock == null) { return NilPlaceholder.INSTANCE; } else { return hash.defaultBlock.call(frame.pack(), hash, index); } } else { return value; } }