diff options
Diffstat (limited to 'compiler/optimizing')
-rw-r--r-- | compiler/optimizing/graph_checker.cc | 4 | ||||
-rw-r--r-- | compiler/optimizing/nodes.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/graph_checker.cc b/compiler/optimizing/graph_checker.cc index db76c04bc0..ad0d0fb2ca 100644 --- a/compiler/optimizing/graph_checker.cc +++ b/compiler/optimizing/graph_checker.cc @@ -757,7 +757,7 @@ void GraphChecker::VisitInvoke(HInvoke* invoke) { std::stringstream ss; ss << invoke->GetIntrinsic(); AddError( - StringPrintf("The graph contains the instrinsic %s which should have been replaced in the " + StringPrintf("The graph contains the intrinsic %s which should have been replaced in the " "instruction builder: %s:%d in block %d.", ss.str().c_str(), invoke->DebugName(), @@ -768,7 +768,7 @@ void GraphChecker::VisitInvoke(HInvoke* invoke) { void GraphChecker::VisitInvokeStaticOrDirect(HInvokeStaticOrDirect* invoke) { // We call VisitInvoke and not VisitInstruction to de-duplicate the common code: always throwing - // and instrinsic checks. + // and intrinsic checks. VisitInvoke(invoke); if (invoke->IsStaticWithExplicitClinitCheck()) { diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc index 7a6c9aaa19..a45d250307 100644 --- a/compiler/optimizing/nodes.cc +++ b/compiler/optimizing/nodes.cc @@ -3402,7 +3402,7 @@ std::ostream& operator<<(std::ostream& os, TypeCheckKind rhs) { #define CHECK_INTRINSICS_ENUM_VALUES(Name, InvokeType, _, SideEffects, Exceptions, ...) \ static_assert( \ static_cast<uint32_t>(Intrinsics::k ## Name) <= (kAccIntrinsicBits >> CTZ(kAccIntrinsicBits)), \ - "Instrinsics enumeration space overflow."); + "Intrinsics enumeration space overflow."); ART_INTRINSICS_LIST(CHECK_INTRINSICS_ENUM_VALUES) #undef CHECK_INTRINSICS_ENUM_VALUES |