diff options
| author | 2017-11-02 12:36:58 +0000 | |
|---|---|---|
| committer | 2017-11-02 12:36:58 +0000 | |
| commit | af52bcb7532e25331d6528c05105423312e161fd (patch) | |
| tree | 4709dfe2f99871909a16ad7ac2bc6c9e068aec95 /compiler/optimizing/code_generator.h | |
| parent | 9d3e8fa581d2848edbf2e071ad0baad4edc2f8a3 (diff) | |
| parent | 33bff25bcd7a02d35c54f63740eadb1a4833fc92 (diff) | |
Merge "ART: Make InstructionSet an enum class and add kLast."
Diffstat (limited to 'compiler/optimizing/code_generator.h')
| -rw-r--r-- | compiler/optimizing/code_generator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index 64c88eb67c..18ad60db87 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -626,7 +626,7 @@ class CodeGenerator : public DeletableArenaObject<kArenaAllocCodeGenerator> { bool CallPushesPC() const { InstructionSet instruction_set = GetInstructionSet(); - return instruction_set == kX86 || instruction_set == kX86_64; + return instruction_set == InstructionSet::kX86 || instruction_set == InstructionSet::kX86_64; } // Arm64 has its own type for a label, so we need to templatize these methods |