Skip to content
Snippets Groups Projects
Commit 71ecf79b authored by Richard Henderson's avatar Richard Henderson
Browse files

decodetree: Prefix extract function names with decode_function


This makes it easier to name Formats within multiple decode files.

Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 263ac638
No related branches found
No related tags found
No related merge requests found
......@@ -312,7 +312,8 @@ class Format(General):
"""Class representing an instruction format"""
def extract_name(self):
return 'extract_' + self.name
global decode_function
return decode_function + '_extract_' + self.name
def output_extract(self):
output('static void ', self.extract_name(), '(',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment