summaryrefslogtreecommitdiff
path: root/compiler/debug/dwarf/dwarf_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/debug/dwarf/dwarf_test.h')
-rw-r--r--compiler/debug/dwarf/dwarf_test.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/debug/dwarf/dwarf_test.h b/compiler/debug/dwarf/dwarf_test.h
index b30ff143d3..5405759c1f 100644
--- a/compiler/debug/dwarf/dwarf_test.h
+++ b/compiler/debug/dwarf/dwarf_test.h
@@ -60,7 +60,8 @@ class DwarfTest : public CommonRuntimeTest {
template<typename ElfTypes>
std::vector<std::string> Objdump(const char* args) {
// Write simple elf file with just the DWARF sections.
- InstructionSet isa = (sizeof(typename ElfTypes::Addr) == 8) ? kX86_64 : kX86;
+ InstructionSet isa =
+ (sizeof(typename ElfTypes::Addr) == 8) ? InstructionSet::kX86_64 : InstructionSet::kX86;
ScratchFile file;
linker::FileOutputStream output_stream(file.GetFile());
linker::ElfBuilder<ElfTypes> builder(isa, nullptr, &output_stream);