Merge pull request #15 from JCWasmx86/master

Typo, replaced crlf with lf in some files
This commit is contained in:
Volker Berlin 2020-05-25 19:15:58 +02:00 committed by GitHub
commit 87199e46ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 478 additions and 478 deletions

View File

@ -33,7 +33,7 @@ class CodeOptimizer {
* @param instructions
* the list of instructions
*/
void optimze( List<WasmInstruction> instructions ) {
void optimize( List<WasmInstruction> instructions ) {
for( int i = instructions.size()-1; i >= 0; i-- ) {
WasmInstruction instr = instructions.get( i );
switch( instr.getType() ) {

View File

@ -574,7 +574,7 @@ public class ModuleGenerator {
writeMethodSignature( name, FunctionType.Code, codeBuilder );
List<WasmInstruction> instructions = codeBuilder.getInstructions();
optimizer.optimze( instructions );
optimizer.optimize( instructions );
int lastJavaSourceLine = -1;
for( WasmInstruction instruction : instructions ) {