aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/gen-icache.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/igen/gen-icache.c')
-rw-r--r--sim/igen/gen-icache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/igen/gen-icache.c b/sim/igen/gen-icache.c
index 77d170d..641c20e 100644
--- a/sim/igen/gen-icache.c
+++ b/sim/igen/gen-icache.c
@@ -152,7 +152,7 @@ print_icache_extraction (lf *file,
switch (what_to_declare)
{
case undef_variables:
- /* We've finished with the #define value - destory it */
+ /* We've finished with the #define value - destroy it */
lf_indent_suppress (file);
lf_printf (file, "#undef %s\n", entry_name);
return;
@@ -632,7 +632,7 @@ print_icache_struct (lf *file, const insn_table *isa, cache_entry *cache_rules)
else
{
/* alernativly, since no cache, emit a dummy definition for
- idecode_cache so that code refering to the type can still compile */
+ idecode_cache so that code referring to the type can still compile */
lf_printf (file, "typedef void %sidecode_cache;\n",
options.module.global.prefix.l);
}