diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-10-10 20:38:05 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-10-10 20:38:05 -0700 |
commit | 157d6f9c2fb203dd95fe53c3481e851ea55272ef (patch) | |
tree | 8768e64c9c290a4b159b3bebe4d7dbbce20529c3 /src/arch/alpha | |
parent | 63fa65613eb654e819721930782a13f1177f31c2 (diff) | |
download | gem5-157d6f9c2fb203dd95fe53c3481e851ea55272ef.tar.xz |
SPARC: Make SPARC's ISA's clear function initialize everything it should.
Also make it not set some pointers to NULL potentially introducing a memory
leak. That should be done in the constructor.
Diffstat (limited to 'src/arch/alpha')
-rw-r--r-- | src/arch/alpha/isa.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/alpha/isa.hh b/src/arch/alpha/isa.hh index 01666c783..cd2ece22d 100644 --- a/src/arch/alpha/isa.hh +++ b/src/arch/alpha/isa.hh @@ -31,6 +31,8 @@ #ifndef __ARCH_ALPHA_ISA_HH__ #define __ARCH_ALPHA_ISA_HH__ +#include <string.h> + #include <string> #include <iostream> |