mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 10:03:47 +08:00
gdb/jit: remove jiter_objfile_data -> objfile back-link
This is no longer needed, remove it. gdb/ChangeLog: 2020-07-22 Simon Marchi <simon.marchi@polymtl.ca> * jit.h (struct jiter_objfile_data) <jiter_objfile_data, objfile>: Remove. * jit.c (get_jiter_objfile_data): Update.
This commit is contained in:
parent
c8474dc353
commit
c1072906f1
@ -1,3 +1,9 @@
|
||||
2020-07-22 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* jit.h (struct jiter_objfile_data) <jiter_objfile_data, objfile>:
|
||||
Remove.
|
||||
* jit.c (get_jiter_objfile_data): Update.
|
||||
|
||||
2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
|
||||
Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
|
@ -254,7 +254,7 @@ static jiter_objfile_data *
|
||||
get_jiter_objfile_data (objfile *objf)
|
||||
{
|
||||
if (objf->jiter_data == nullptr)
|
||||
objf->jiter_data.reset (new jiter_objfile_data (objf));
|
||||
objf->jiter_data.reset (new jiter_objfile_data ());
|
||||
|
||||
return objf->jiter_data.get ();
|
||||
}
|
||||
|
@ -72,15 +72,8 @@ struct jit_descriptor
|
||||
|
||||
struct jiter_objfile_data
|
||||
{
|
||||
jiter_objfile_data (struct objfile *objfile)
|
||||
: objfile (objfile)
|
||||
{}
|
||||
|
||||
~jiter_objfile_data ();
|
||||
|
||||
/* Back-link to the objfile. */
|
||||
struct objfile *objfile;
|
||||
|
||||
/* Symbol for __jit_debug_register_code. */
|
||||
minimal_symbol *register_code = nullptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user