[Compiler] Adapt ModuleLoader to changed syntax

Authored by akreuzkamp.

Description

[Compiler] Adapt ModuleLoader to changed syntax

The last commit changed the syntax how modules register their types.
(It's now done using a registerModule method instead of just returning
the data).
This commit adapts ModuleLoader to recognize that call.

Details

Committed
akreuzkampSep 8 2015, 10:24 AM
Differential Revision
D335: [Compiler] Implement module loading.
Parents
R18:bc19c2610bee: [Runtime] Change module API to simplify parsing.
Branches
Unknown
Tags
Unknown