summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2018-04-04 17:23:28 +0000
committerVladimir Marko <vmarko@google.com>2018-04-04 17:23:28 +0000
commit5806a9ec99b5494b511e84c74f494f0b3a8ebec5 (patch)
treebb50d00ff0890c2e10f351f462b47b56b01e78ea /compiler/optimizing/code_generator.cc
parentc9dd2207dfdab42586b1d6a5e7f11cf2fcea3a7a (diff)
Revert "Compile link-time thunks in codegen."
Reason for revert: This caused clang linker crash in several branches. Bug: 77581732 This reverts commit c9dd2207dfdab42586b1d6a5e7f11cf2fcea3a7a. Change-Id: I1923809083cf41c4f19e3e60df03ae80517aaedb
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r--compiler/optimizing/code_generator.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc
index 231017f55e..c2ae7646b5 100644
--- a/compiler/optimizing/code_generator.cc
+++ b/compiler/optimizing/code_generator.cc
@@ -449,18 +449,6 @@ void CodeGenerator::EmitLinkerPatches(
// No linker patches by default.
}
-bool CodeGenerator::NeedsThunkCode(const linker::LinkerPatch& patch ATTRIBUTE_UNUSED) const {
- // Code generators that create patches requiring thunk compilation should override this function.
- return false;
-}
-
-void CodeGenerator::EmitThunkCode(const linker::LinkerPatch& patch ATTRIBUTE_UNUSED,
- /*out*/ ArenaVector<uint8_t>* code ATTRIBUTE_UNUSED,
- /*out*/ std::string* debug_name ATTRIBUTE_UNUSED) {
- // Code generators that create patches requiring thunk compilation should override this function.
- LOG(FATAL) << "Unexpected call to EmitThunkCode().";
-}
-
void CodeGenerator::InitializeCodeGeneration(size_t number_of_spill_slots,
size_t maximum_safepoint_spill_size,
size_t number_of_out_slots,