diff options
author | Ian Rogers <irogers@google.com> | 2014-10-16 20:31:53 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-10-16 21:30:37 -0700 |
commit | d4c4d953035d4418126d36517e402f411d6a87f3 (patch) | |
tree | 735aacf812bbac7c1ae7c0788c1ca6f58cfa82ee /compiler/trampolines/trampoline_compiler.cc | |
parent | 6f3dbbadf4ce66982eb3d400e0a74cb73eb034f3 (diff) | |
download | android_art-d4c4d953035d4418126d36517e402f411d6a87f3.tar.gz android_art-d4c4d953035d4418126d36517e402f411d6a87f3.tar.bz2 android_art-d4c4d953035d4418126d36517e402f411d6a87f3.zip |
Some code clean-up.
Change-Id: I4b745fd5298cd61c793e3b57514b48347bd66c0e
Diffstat (limited to 'compiler/trampolines/trampoline_compiler.cc')
-rw-r--r-- | compiler/trampolines/trampoline_compiler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/trampolines/trampoline_compiler.cc b/compiler/trampolines/trampoline_compiler.cc index 6da375aef0..e793c6b12c 100644 --- a/compiler/trampolines/trampoline_compiler.cc +++ b/compiler/trampolines/trampoline_compiler.cc @@ -166,7 +166,7 @@ const std::vector<uint8_t>* CreateTrampoline64(InstructionSet isa, EntryPointCal return x86_64::CreateTrampoline(offset); default: LOG(FATAL) << "Unexpected InstructionSet: " << isa; - return nullptr; + UNREACHABLE(); } } @@ -182,7 +182,7 @@ const std::vector<uint8_t>* CreateTrampoline32(InstructionSet isa, EntryPointCal return x86::CreateTrampoline(offset); default: LOG(FATAL) << "Unexpected InstructionSet: " << isa; - return nullptr; + UNREACHABLE(); } } |