finish implementation of followBuilderFars()
This commit is contained in:
parent
9ba6f3970c
commit
855f635e50
1 changed files with 4 additions and 1 deletions
|
@ -126,8 +126,11 @@ final class WireHelpers {
|
||||||
|
|
||||||
//# Landing pad is another far pointer. It is followed by a
|
//# Landing pad is another far pointer. It is followed by a
|
||||||
//# tag describing the pointed-to object.
|
//# tag describing the pointed-to object.
|
||||||
throw new Error("unimplemented");
|
int refOffset = padOffset + 1;
|
||||||
|
ref = resultSegment.get(refOffset);
|
||||||
|
|
||||||
|
resultSegment = resultSegment.getArena().getSegment(FarPointer.getSegmentId(pad));
|
||||||
|
return new FollowBuilderFarsResult(FarPointer.positionInSegment(pad), ref, resultSegment);
|
||||||
} else {
|
} else {
|
||||||
return new FollowBuilderFarsResult(refTarget, ref, segment);
|
return new FollowBuilderFarsResult(refTarget, ref, segment);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue