mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 929314 - Remove unused HandleScripts from IonSpewer and related classes r=jandem
This commit is contained in:
parent
7a2cb70d73
commit
910d67f048
@ -31,7 +31,6 @@ C1Spewer::beginFunction(MIRGraph *graph, HandleScript script)
|
||||
return;
|
||||
|
||||
this->graph = graph;
|
||||
this->script.repoint(script);
|
||||
|
||||
fprintf(spewout_, "begin_compilation\n");
|
||||
if (script) {
|
||||
|
@ -26,12 +26,11 @@ class LInstruction;
|
||||
class C1Spewer
|
||||
{
|
||||
MIRGraph *graph;
|
||||
HandleScript script;
|
||||
FILE *spewout_;
|
||||
|
||||
public:
|
||||
C1Spewer()
|
||||
: graph(nullptr), script(NullPtr()), spewout_(nullptr)
|
||||
: graph(nullptr), spewout_(nullptr)
|
||||
{ }
|
||||
|
||||
bool init(const char *path);
|
||||
|
@ -151,7 +151,6 @@ IonSpewer::beginFunction(MIRGraph *graph, HandleScript function)
|
||||
}
|
||||
|
||||
this->graph = graph;
|
||||
this->function.repoint(function);
|
||||
|
||||
c1Spewer.beginFunction(graph, function);
|
||||
jsonSpewer.beginFunction(function);
|
||||
|
@ -97,14 +97,13 @@ class IonSpewer
|
||||
{
|
||||
private:
|
||||
MIRGraph *graph;
|
||||
JS::HandleScript function;
|
||||
C1Spewer c1Spewer;
|
||||
JSONSpewer jsonSpewer;
|
||||
bool inited_;
|
||||
|
||||
public:
|
||||
IonSpewer()
|
||||
: graph(nullptr), function(NullPtr()), inited_(false)
|
||||
: graph(nullptr), inited_(false)
|
||||
{ }
|
||||
|
||||
// File output is terminated safely upon destruction.
|
||||
|
Loading…
Reference in New Issue
Block a user