From 41386e9cb918eed93b3f13648cbef387e371e451 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 20 May 2015 09:56:07 +0000 Subject: webkitgtk-2.4.9 --- Source/JavaScriptCore/dfg/DFGCommonData.h | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) (limited to 'Source/JavaScriptCore/dfg/DFGCommonData.h') diff --git a/Source/JavaScriptCore/dfg/DFGCommonData.h b/Source/JavaScriptCore/dfg/DFGCommonData.h index 2a2d0a2d0..17c5cce11 100644 --- a/Source/JavaScriptCore/dfg/DFGCommonData.h +++ b/Source/JavaScriptCore/dfg/DFGCommonData.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013, 2015 Apple Inc. All rights reserved. + * Copyright (C) 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 @@ -26,24 +26,23 @@ #ifndef DFGCommonData_h #define DFGCommonData_h +#include + #if ENABLE(DFG_JIT) #include "CodeBlockJettisoningWatchpoint.h" -#include "DFGAdaptiveInferredPropertyValueWatchpoint.h" -#include "DFGAdaptiveStructureWatchpoint.h" #include "DFGJumpReplacement.h" #include "InlineCallFrameSet.h" #include "JSCell.h" +#include "ProfiledCodeBlockJettisoningWatchpoint.h" #include "ProfilerCompilation.h" #include "SymbolTable.h" -#include #include namespace JSC { class CodeBlock; class Identifier; -class TrackedReferences; namespace DFG { @@ -74,12 +73,13 @@ class CommonData { public: CommonData() : isStillValid(true) + , machineCaptureStart(std::numeric_limits::max()) , frameRegisterCount(std::numeric_limits::max()) , requiredRegisterCountForExit(std::numeric_limits::max()) { } void notifyCompilingStructureTransition(Plan&, CodeBlock*, Node*); - unsigned addCodeOrigin(CodeOrigin); + unsigned addCodeOrigin(CodeOrigin codeOrigin); void shrinkToFit(); @@ -89,19 +89,15 @@ public: { return std::max(frameRegisterCount, requiredRegisterCountForExit); } - - void validateReferences(const TrackedReferences&); - RefPtr inlineCallFrames; + OwnPtr inlineCallFrames; Vector codeOrigins; Vector dfgIdentifiers; Vector transitions; Vector> weakReferences; - Vector> weakStructureReferences; - Bag watchpoints; - Bag adaptiveStructureWatchpoints; - Bag adaptiveInferredPropertyValueWatchpoints; + SegmentedVector watchpoints; + SegmentedVector profiledWatchpoints; Vector jumpReplacements; RefPtr compilation; @@ -109,9 +105,8 @@ public: bool allTransitionsHaveBeenMarked; // Initialized and used on every GC. bool isStillValid; -#if USE(JSVALUE32_64) - std::unique_ptr> doubleConstants; -#endif + int machineCaptureStart; + std::unique_ptr slowArguments; unsigned frameRegisterCount; unsigned requiredRegisterCountForExit; -- cgit v1.2.1