diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2013-10-15 14:22:43 -0400 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2013-10-15 14:22:43 -0400 |
commit | 06d246ab4ad79c01cb0b1304dbe9415496285b1b (patch) | |
tree | 33573a27939a154c6c5cae662592bf37d4c825e1 /src/cpu/inorder/reg_dep_map.hh | |
parent | 7aa423acad07f05ee547117406a72a5c1b4f6015 (diff) | |
download | gem5-06d246ab4ad79c01cb0b1304dbe9415496285b1b.tar.xz |
cpu/inorder: merge register class enums
The previous patch introduced a RegClass enum to clean
up register classification. The inorder model already
had an equivalent enum (RegType) that was used internally.
This patch replaces RegType with RegClass to get rid
of the now-redundant code.
Diffstat (limited to 'src/cpu/inorder/reg_dep_map.hh')
-rw-r--r-- | src/cpu/inorder/reg_dep_map.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cpu/inorder/reg_dep_map.hh b/src/cpu/inorder/reg_dep_map.hh index fa69e2234..b7219cdac 100644 --- a/src/cpu/inorder/reg_dep_map.hh +++ b/src/cpu/inorder/reg_dep_map.hh @@ -1,5 +1,6 @@ /* * Copyright (c) 2007 MIPS Technologies, Inc. + * Copyright (c) 2013 Advanced Micro Devices, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -45,13 +46,10 @@ class RegDepMap public: typedef ThePipeline::DynInstPtr DynInstPtr; typedef TheISA::RegIndex RegIndex; - typedef uint8_t RegType; RegDepMap(int size = TheISA::TotalNumRegs); ~RegDepMap(); - static std::string mapNames[]; - std::string name(); void setCPU(InOrderCPU *_cpu); |