if (cmVal instanceof RubyModule) {
module = (RubyModule) cmVal;
} else {
throw runtime.newTypeError(cmVal + " is not a type/class");
}
ConstantCache cache = this.cache;
if (!ConstantCache.isCachedFrom(module, cache)) return cache(runtime, module);
return cache.value;
}