forked from Imagelibrary/binutils-gdb
Convert exp_uses_objfile to a method of expression
This changes the exp_uses_objfile function to be a method of 'expression'. Reviewed-By: Lancelot Six <lancelot.six@amd.com>
This commit is contained in:
@@ -89,6 +89,15 @@ parse_to_comma_and_eval (const char **expp)
|
||||
|
||||
/* See expression.h. */
|
||||
|
||||
bool
|
||||
expression::uses_objfile (struct objfile *objfile) const
|
||||
{
|
||||
gdb_assert (objfile->separate_debug_objfile_backlink == nullptr);
|
||||
return op->uses_objfile (objfile);
|
||||
}
|
||||
|
||||
/* See expression.h. */
|
||||
|
||||
struct value *
|
||||
expression::evaluate (struct type *expect_type, enum noside noside)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user