summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGDriver.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
commit32761a6cee1d0dee366b885b7b9c777e67885688 (patch)
treed6bec92bebfb216f4126356e55518842c2f476a1 /Source/JavaScriptCore/dfg/DFGDriver.h
parenta4e969f4965059196ca948db781e52f7cfebf19e (diff)
downloadWebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGDriver.h')
-rw-r--r--Source/JavaScriptCore/dfg/DFGDriver.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGDriver.h b/Source/JavaScriptCore/dfg/DFGDriver.h
index a456dc66e..9d43638df 100644
--- a/Source/JavaScriptCore/dfg/DFGDriver.h
+++ b/Source/JavaScriptCore/dfg/DFGDriver.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011, 2013, 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2011, 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -29,6 +29,7 @@
#include "CallFrame.h"
#include "DFGCompilationMode.h"
#include "DFGPlan.h"
+#include <wtf/Platform.h>
namespace JSC {
@@ -39,14 +40,16 @@ class VM;
namespace DFG {
+class Worklist;
+
JS_EXPORT_PRIVATE unsigned getNumCompilations();
// If the worklist is non-null, we do a concurrent compile. Otherwise we do a synchronous
// compile. Even if we do a synchronous compile, we call the callback with the result.
CompilationResult compile(
- VM&, CodeBlock*, CodeBlock* profiledDFGCodeBlock, CompilationMode,
- unsigned osrEntryBytecodeIndex, const Operands<JSValue>& mustHandleValues,
- PassRefPtr<DeferredCompilationCallback>);
+ VM&, CodeBlock*, CompilationMode, unsigned osrEntryBytecodeIndex,
+ const Operands<JSValue>& mustHandleValues,
+ PassRefPtr<DeferredCompilationCallback>, Worklist*);
} } // namespace JSC::DFG