mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Cosmetics: removal of EOL blanks
This commit is contained in:
parent
246cf5a850
commit
fbd31b0fe2
@ -266,7 +266,7 @@ public class Codegen extends Interpreter {
|
|||||||
{
|
{
|
||||||
boolean hasScript = (scriptOrFnNodes[0].getType() == Token.SCRIPT);
|
boolean hasScript = (scriptOrFnNodes[0].getType() == Token.SCRIPT);
|
||||||
boolean hasFunctions = (scriptOrFnNodes.length > 1 || !hasScript);
|
boolean hasFunctions = (scriptOrFnNodes.length > 1 || !hasScript);
|
||||||
|
|
||||||
String sourceFile = null;
|
String sourceFile = null;
|
||||||
if (generateDebugInfo) {
|
if (generateDebugInfo) {
|
||||||
sourceFile = scriptOrFnNodes[0].getSourceName();
|
sourceFile = scriptOrFnNodes[0].getSourceName();
|
||||||
@ -285,7 +285,7 @@ public class Codegen extends Interpreter {
|
|||||||
if (hasFunctions) {
|
if (hasFunctions) {
|
||||||
generateFunctionConstructor(cfw);
|
generateFunctionConstructor(cfw);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasScript) {
|
if (hasScript) {
|
||||||
cfw.addInterface("org/mozilla/javascript/Script");
|
cfw.addInterface("org/mozilla/javascript/Script");
|
||||||
generateScriptCtor(cfw);
|
generateScriptCtor(cfw);
|
||||||
|
Loading…
Reference in New Issue
Block a user