Commit [r22865] Maximize Restore History

Minor improvements in the compiler and modules.

[Reviewed by Elliot]

* In checkFormalActualBaseTypesMatch() and checkFormalActualTypesMatch(),
ensure with INT_FATAL that whenever the actual is 'nil', the formal
is of a (Chapel) class type.

* In createTaskFunctions(), strengthen an assertion.

* In CyclicDist.chpl, do not set the pid upon 'new CyclicArr(...)'.
Rationale: 'pid' should be set when the object is privatized using
_newPrivatizedClass. Setting 'pid' to that of another already-
privatized object breaks some unspoken invariants/assumptions.

* In ChapelArray.chpl, replace _isPrivatized(a._value) with
_isPrivatized(a._valueType), where 'a' is a _distribution.
This is for consistency with the other uses of _isPrivatized.
Also, for privatized distributions a._value-the-accessor is an int,
so I am unclear how it worked at all before this change.

vasslitvinov 2014-03-11

changed /trunk/modules/dists/CyclicDist.chpl
changed /trunk/compiler/main/checks.cpp
changed /trunk/modules/internal/ChapelArray.chpl
changed /trunk/compiler/passes/createTaskFunctions.cpp
/trunk/modules/dists/CyclicDist.chpl Diff Switch to side-by-side view
Loading...
/trunk/compiler/main/checks.cpp Diff Switch to side-by-side view
Loading...
/trunk/modules/internal/ChapelArray.chpl Diff Switch to side-by-side view
Loading...
/trunk/compiler/passes/createTaskFunctions.cpp Diff Switch to side-by-side view
Loading...