forked from OSchip/llvm-project
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:
parent
1154e27b4f
commit
7309e6c7f1
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue