From b3ff71c073e15677d7f8812de3691af83053eeb6 Mon Sep 17 00:00:00 2001 From: whh8b <whh8b@git.zephyr-software.com> Date: Thu, 30 Jun 2016 01:12:30 +0000 Subject: [PATCH] Remove zipr object as parameter to several functions. --- include/zipr_plugin.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/include/zipr_plugin.h b/include/zipr_plugin.h index 5c84968..537d712 100644 --- a/include/zipr_plugin.h +++ b/include/zipr_plugin.h @@ -7,7 +7,6 @@ enum ZiprPreference { None, Must, }; -class Zipr_t; class ZiprPluginInterface_t { @@ -40,7 +39,8 @@ class ZiprPluginInterface_t { return false; } - virtual size_t WorstCaseInsnSize(libIRDB::Instruction_t*, bool, Zipr_t *) + + virtual size_t WorstCaseInsnSize(libIRDB::Instruction_t*, bool) { return 0; } @@ -53,11 +53,11 @@ class ZiprPluginInterface_t * should return the size of that padding in * these functions. */ - virtual size_t DollopEntryOpeningSize(DollopEntry_t*, Zipr_t *) + virtual size_t DollopEntryOpeningSize(DollopEntry_t*) { return 0; } - virtual size_t DollopEntryClosingSize(DollopEntry_t*, Zipr_t *) + virtual size_t DollopEntryClosingSize(DollopEntry_t*) { return 0; } @@ -97,8 +97,7 @@ class ZiprPluginInterface_t virtual RangeAddress_t PlopDollopEntry(Zipr_SDK::DollopEntry_t *entry, RangeAddress_t &instruction_address, size_t instruction_size, - bool &placed_instruction, - Zipr_t *zipr) + bool &placed_instruction) { return 0; } -- GitLab