diff options
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGDriver.h')
-rw-r--r-- | Source/JavaScriptCore/dfg/DFGDriver.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGDriver.h b/Source/JavaScriptCore/dfg/DFGDriver.h index 9d43638df..1a2d18ce9 100644 --- a/Source/JavaScriptCore/dfg/DFGDriver.h +++ b/Source/JavaScriptCore/dfg/DFGDriver.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011, 2013 Apple Inc. All rights reserved. + * Copyright (C) 2011, 2013, 2014 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -23,13 +23,11 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef DFGDriver_h -#define DFGDriver_h +#pragma once #include "CallFrame.h" #include "DFGCompilationMode.h" #include "DFGPlan.h" -#include <wtf/Platform.h> namespace JSC { @@ -40,18 +38,13 @@ 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*, CompilationMode, unsigned osrEntryBytecodeIndex, - const Operands<JSValue>& mustHandleValues, - PassRefPtr<DeferredCompilationCallback>, Worklist*); + VM&, CodeBlock*, CodeBlock* profiledDFGCodeBlock, CompilationMode, + unsigned osrEntryBytecodeIndex, const Operands<JSValue>& mustHandleValues, + Ref<DeferredCompilationCallback>&&); } } // namespace JSC::DFG - -#endif - |