* primitive with a modified prototype.
*/
JsNameRef rhs = prototype.makeRef();
rhs.setQualifier(jsProgram.getRootScope().declareName("String").makeRef());
JsExpression tmpAsg = createAssignment(globalTemp.makeRef(), rhs);
globalStmts.add(tmpAsg.makeStmt());
}
}
private void generateToStringAlias(JClassType x, JsStatements globalStmts) {
JMethod toStringMeth = program.getSpecialMethod("Object.toString");