diff options
Diffstat (limited to 'Source/JavaScriptCore/profiler/ProfilerBytecode.h')
-rw-r--r-- | Source/JavaScriptCore/profiler/ProfilerBytecode.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Source/JavaScriptCore/profiler/ProfilerBytecode.h b/Source/JavaScriptCore/profiler/ProfilerBytecode.h index 8e99c9a09..72c66c5c3 100644 --- a/Source/JavaScriptCore/profiler/ProfilerBytecode.h +++ b/Source/JavaScriptCore/profiler/ProfilerBytecode.h @@ -23,14 +23,16 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef ProfilerBytecode_h -#define ProfilerBytecode_h +#pragma once #include "JSCJSValue.h" -#include "Opcode.h" #include <wtf/text/CString.h> -namespace JSC { namespace Profiler { +namespace JSC { + +enum OpcodeID : unsigned; + +namespace Profiler { class Bytecode { public: @@ -60,6 +62,3 @@ private: inline unsigned getBytecodeIndexForBytecode(Bytecode* bytecode) { return bytecode->bytecodeIndex(); } } } // namespace JSC::Profiler - -#endif // ProfilerBytecode_h - |