Changeset 163027 in webkit for trunk/Source/JavaScriptCore/dfg/DFGPlan.h
- Timestamp:
- Jan 29, 2014, 11:18:54 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGPlan.h
r155023 r163027 1 1 /* 2 * Copyright (C) 2013 Apple Inc. All rights reserved.2 * Copyright (C) 2013, 2014 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 56 56 struct Plan : public ThreadSafeRefCounted<Plan> { 57 57 Plan( 58 PassRefPtr<CodeBlock>, CompilationMode, unsigned osrEntryBytecodeIndex, 58 PassRefPtr<CodeBlock> codeBlockToCompile, CodeBlock* profiledDFGCodeBlock, 59 CompilationMode, unsigned osrEntryBytecodeIndex, 59 60 const Operands<JSValue>& mustHandleValues); 60 61 ~Plan(); … … 71 72 VM& vm; 72 73 RefPtr<CodeBlock> codeBlock; 74 RefPtr<CodeBlock> profiledDFGCodeBlock; 73 75 CompilationMode mode; 74 76 const unsigned osrEntryBytecodeIndex; … … 85 87 DesiredWriteBarriers writeBarriers; 86 88 DesiredTransitions transitions; 89 90 bool willTryToTierUp; 87 91 88 92 double beforeFTL; … … 93 97 94 98 private: 99 bool reportCompileTimes() const; 100 95 101 enum CompilationPath { FailPath, DFGPath, FTLPath }; 96 102 CompilationPath compileInThreadImpl(LongLivedState&);
Note:
See TracChangeset
for help on using the changeset viewer.