2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
12 #include "ValueLocation.h"
15 Variable::Variable(ObjectID
* id
, const BString
& name
, Type
* type
,
16 ValueLocation
* location
, CpuState
* state
)
24 fID
->AcquireReference();
25 fType
->AcquireReference();
26 fLocation
->AcquireReference();
27 if (fCpuState
!= NULL
)
28 fCpuState
->AcquireReference();
34 fID
->ReleaseReference();
35 fType
->ReleaseReference();
36 fLocation
->ReleaseReference();
37 if (fCpuState
!= NULL
)
38 fCpuState
->ReleaseReference();