Removing alloy::tracing, as it's unused.
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#include <alloy/compiler/compiler.h>
|
||||
|
||||
#include <alloy/compiler/compiler_pass.h>
|
||||
#include <alloy/compiler/tracing.h>
|
||||
|
||||
namespace alloy {
|
||||
namespace compiler {
|
||||
@@ -20,8 +19,6 @@ using alloy::runtime::Runtime;
|
||||
|
||||
Compiler::Compiler(Runtime* runtime) : runtime_(runtime) {
|
||||
scratch_arena_ = new Arena();
|
||||
|
||||
alloy::tracing::WriteEvent(EventType::Init({}));
|
||||
}
|
||||
|
||||
Compiler::~Compiler() {
|
||||
@@ -33,8 +30,6 @@ Compiler::~Compiler() {
|
||||
}
|
||||
|
||||
delete scratch_arena_;
|
||||
|
||||
alloy::tracing::WriteEvent(EventType::Deinit({}));
|
||||
}
|
||||
|
||||
void Compiler::AddPass(CompilerPass* pass) {
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
'compiler_pass.cc',
|
||||
'compiler_pass.h',
|
||||
'compiler_passes.h',
|
||||
'tracing.h',
|
||||
],
|
||||
|
||||
'includes': [
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2013 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef ALLOY_COMPILER_TRACING_H_
|
||||
#define ALLOY_COMPILER_TRACING_H_
|
||||
|
||||
#include <alloy/tracing/tracing.h>
|
||||
#include <alloy/tracing/event_type.h>
|
||||
|
||||
namespace alloy {
|
||||
namespace compiler {
|
||||
|
||||
const uint32_t ALLOY_COMPILER = alloy::tracing::EventType::ALLOY_COMPILER;
|
||||
|
||||
class EventType {
|
||||
public:
|
||||
enum {
|
||||
ALLOY_COMPILER_INIT = ALLOY_COMPILER | (1),
|
||||
ALLOY_COMPILER_DEINIT = ALLOY_COMPILER | (2),
|
||||
};
|
||||
|
||||
typedef struct Init_s {
|
||||
static const uint32_t event_type = ALLOY_COMPILER_INIT;
|
||||
} Init;
|
||||
typedef struct Deinit_s {
|
||||
static const uint32_t event_type = ALLOY_COMPILER_DEINIT;
|
||||
} Deinit;
|
||||
};
|
||||
|
||||
} // namespace compiler
|
||||
} // namespace alloy
|
||||
|
||||
#endif // ALLOY_COMPILER_TRACING_H_
|
||||
Reference in New Issue
Block a user