diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/JavaScriptCore/dfg/DFGDriver.h | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-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.h | 11 |
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 |