Unbreak build, you can't take a pointer from a "register" variable. Most compilers ignore this keyword anyways.

Also remove a typedef that typedefs nothing.

llvm-svn: 114083
This commit is contained in:
Benjamin Kramer 2010-09-16 16:07:21 +00:00
parent 1154e27b4f
commit 7309e6c7f1
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ public:
{
public:
typedef enum RestoreType
enum RestoreType
{
unspecified, // not specified, we may be able to assume this
// is the same register. gcc doesn't specify all

View File

@ -119,7 +119,7 @@ DWARFDebugInfoEntry::FastExtract
if (abbrCode)
{
register uint32_t offset = *offset_ptr;
uint32_t offset = *offset_ptr;
m_abbrevDecl = cu->GetAbbreviations()->GetAbbreviationDeclaration(abbrCode);