Mark some functions as readonly for optimization.
Also, code cleanup, and fix comment.
Change-Id: Ia25e9bc6f02b5838b1cd18efc32d2084e6db0953
diff --git a/src/compiler_llvm/tbaa_info.h b/src/compiler_llvm/tbaa_info.h
index 1fe9314..9c0e250 100644
--- a/src/compiler_llvm/tbaa_info.h
+++ b/src/compiler_llvm/tbaa_info.h
@@ -52,7 +52,7 @@
llvm::LLVMContext& context_;
llvm::MDNode* root_;
llvm::MDNode* special_type_[MAX_TBAA_SPECIAL_TYPE];
- // There are 3 categories of memory types will not alias: array element, identified field, and
+ // There are 3 categories of memory types will not alias: array element, instance field, and
// static field.
llvm::MDNode* memory_jtype_[3][MAX_JTYPE];
};