Extended data value type descriptions
This commit is contained in:
@@ -78,9 +78,6 @@ constructor TExecutionScope.Create(
|
||||
const ADescriptor: IScopeDescriptor;
|
||||
const ACapturedUpvalues: TArray<IValueCell>
|
||||
);
|
||||
var
|
||||
slotCount: Integer;
|
||||
i: Integer;
|
||||
begin
|
||||
inherited Create;
|
||||
FParent := AParent;
|
||||
@@ -89,10 +86,7 @@ begin
|
||||
FCapturedUpvalues := ACapturedUpvalues; // Store upvalues
|
||||
|
||||
if ADescriptor <> nil then
|
||||
begin
|
||||
slotCount := ADescriptor.SlotCount;
|
||||
SetLength(FValues, slotCount);
|
||||
end;
|
||||
SetLength(FValues, ADescriptor.SlotCount);
|
||||
end;
|
||||
|
||||
destructor TExecutionScope.Destroy;
|
||||
|
||||
Reference in New Issue
Block a user