Assert (implicitly) that chpl_taskID_t is a 64-bit integral type.

[Reviewed by Brad.]

This restricts us to only casting chpl_taskID_t values to/from 64-bit
ints and uints.  The former matches the usage in DefaultRectangular, and
the latter matches that in ChapelIO.  This gets rid of one use of
_isPrimitiveType(), helping us toward removing it altogether.


git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@23847 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Regularize the use of FLAG_COMPILER_NESTED_FUNCTION.

Replaced some strcmps with proper application of this flag.

Also, simplified flattenGlobalFunctions(), since the flag seems to be moot
when the normalize pass is entered.

Renamed flattenGlobalFunctions() as moveGlobalDeclarationsToModuleScope().

[tested on / (std)]
[tested on distributions/ domains/ multilocale/ performance/ (gasnet)]


git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@23848 3a8e244f-b0f2-452b-bcba-4c88e055c3ca