summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/profiler/ProfilerBytecode.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/JavaScriptCore/profiler/ProfilerBytecode.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/JavaScriptCore/profiler/ProfilerBytecode.h')
-rw-r--r--Source/JavaScriptCore/profiler/ProfilerBytecode.h13
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
-