aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMat M <[email protected]>2016-09-02 07:17:22 -0400
committerMerry <[email protected]>2016-09-02 12:17:22 +0100
commita465b2ddbce003be7f9db9cc51e846296874a5e4 (patch)
tree84853f78387c45f2c8c678c305a8e972709f5c64
parentea157dfd52b337464749045910ab297ac40fc7b0 (diff)
downloaddynarmic-a465b2ddbce003be7f9db9cc51e846296874a5e4.tar.gz
dynarmic-a465b2ddbce003be7f9db9cc51e846296874a5e4.zip
ir_emitter: Fix typo. ClearExlcusive -> ClearExclusive (#5)
-rw-r--r--src/frontend/ir/ir_emitter.cpp2
-rw-r--r--src/frontend/ir/ir_emitter.h2
-rw-r--r--src/frontend/translate/translate_arm/synchronization.cpp2
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;
}