From a465b2ddbce003be7f9db9cc51e846296874a5e4 Mon Sep 17 00:00:00 2001 From: Mat M Date: Fri, 2 Sep 2016 07:17:22 -0400 Subject: [PATCH] ir_emitter: Fix typo. ClearExlcusive -> ClearExclusive (#5) --- src/frontend/ir/ir_emitter.cpp | 2 +- src/frontend/ir/ir_emitter.h | 2 +- src/frontend/translate/translate_arm/synchronization.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/ir/ir_emitter.cpp b/src/frontend/ir/ir_emitter.cpp index 5f7ef5ab..2258b79c 100644 --- a/src/frontend/ir/ir_emitter.cpp +++ b/src/frontend/ir/ir_emitter.cpp @@ -471,7 +471,7 @@ Value IREmitter::FPU32ToDouble(const Value& a, bool round_to_nearest, bool fpscr return Inst(Opcode::FPU32ToDouble, {a, Imm1(round_to_nearest)}); } -void IREmitter::ClearExlcusive() { +void IREmitter::ClearExclusive() { Inst(Opcode::ClearExclusive, {}); } diff --git a/src/frontend/ir/ir_emitter.h b/src/frontend/ir/ir_emitter.h index 1d0c5220..f7194aa8 100644 --- a/src/frontend/ir/ir_emitter.h +++ b/src/frontend/ir/ir_emitter.h @@ -156,7 +156,7 @@ public: Value FPS32ToDouble(const Value& a, bool round_to_nearest, bool fpscr_controlled); Value FPU32ToDouble(const Value& a, bool round_to_nearest, bool fpscr_controlled); - void ClearExlcusive(); + void ClearExclusive(); void SetExclusive(const Value& vaddr, size_t byte_size); Value ReadMemory8(const Value& vaddr); Value ReadMemory16(const Value& vaddr); diff --git a/src/frontend/translate/translate_arm/synchronization.cpp b/src/frontend/translate/translate_arm/synchronization.cpp index 31d01a7b..40f9efc3 100644 --- a/src/frontend/translate/translate_arm/synchronization.cpp +++ b/src/frontend/translate/translate_arm/synchronization.cpp @@ -11,7 +11,7 @@ namespace Arm { bool ArmTranslatorVisitor::arm_CLREX() { // CLREX - ir.ClearExlcusive(); + ir.ClearExclusive(); return true; }