diff options
| author | 2015-09-30 21:42:02 +0000 | |
|---|---|---|
| committer | 2015-09-30 21:42:02 +0000 | |
| commit | 46dcaf9350c7571fe07098c6de2f8da24a2c3e2c (patch) | |
| tree | 97513954feb32946fe5f39c4632ef44558e57302 | |
| parent | 883dc19b542c7580734f1c8757dbb6d0bf3f23a5 (diff) | |
| parent | 00d597a7e192b5d9ccf5a4bcb3783e688af7301f (diff) | |
Merge "Tidy up spelling"
| -rw-r--r-- | compiler/optimizing/constant_folding.cc | 4 | ||||
| -rw-r--r-- | runtime/arch/mips/memcmp16_mips.S | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/constant_folding.cc b/compiler/optimizing/constant_folding.cc index 20ce1105ce..e0aa4ff489 100644 --- a/compiler/optimizing/constant_folding.cc +++ b/compiler/optimizing/constant_folding.cc @@ -226,14 +226,14 @@ void InstructionWithAbsorbingInputSimplifier::VisitSub(HSub* instruction) { // We assume that GVN has run before, so we only perform a pointer // comparison. If for some reason the values are equal but the pointers are - // different, we are still correct and only miss an optimisation + // different, we are still correct and only miss an optimization // opportunity. if (instruction->GetLeft() == instruction->GetRight()) { // Replace code looking like // SUB dst, src, src // with // CONSTANT 0 - // Note that we cannot optimise `x - x` to `0` for floating-point. It does + // Note that we cannot optimize `x - x` to `0` for floating-point. It does // not work when `x` is an infinity. instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); block->RemoveInstruction(instruction); diff --git a/runtime/arch/mips/memcmp16_mips.S b/runtime/arch/mips/memcmp16_mips.S index aef81afeca..c8eac9bd1c 100644 --- a/runtime/arch/mips/memcmp16_mips.S +++ b/runtime/arch/mips/memcmp16_mips.S @@ -26,7 +26,7 @@ ENTRY_NO_GP __memcmp16 beqz $a2,done /* 0 length string */ beq $a0,$a1,done /* strings are identical */ - /* Unoptimised... */ + /* Unoptimized... */ 1: lhu $t0,0($a0) lhu $t1,0($a1) addu $a1,2 |