X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/2d39b0e377c0896910ee49ae70082ba665faf986..HEAD:/dfg/DFGCommonData.h diff --git a/dfg/DFGCommonData.h b/dfg/DFGCommonData.h index af5c38d..af4812d 100644 --- a/dfg/DFGCommonData.h +++ b/dfg/DFGCommonData.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013 Apple Inc. All rights reserved. + * Copyright (C) 2013, 2015 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,7 +32,6 @@ #include "DFGJumpReplacement.h" #include "InlineCallFrameSet.h" #include "JSCell.h" -#include "ProfiledCodeBlockJettisoningWatchpoint.h" #include "ProfilerCompilation.h" #include "SymbolTable.h" #include @@ -42,6 +41,7 @@ namespace JSC { class CodeBlock; class Identifier; +class TrackedReferences; namespace DFG { @@ -72,7 +72,6 @@ class CommonData { public: CommonData() : isStillValid(true) - , machineCaptureStart(std::numeric_limits::max()) , frameRegisterCount(std::numeric_limits::max()) , requiredRegisterCountForExit(std::numeric_limits::max()) { } @@ -88,6 +87,8 @@ public: { return std::max(frameRegisterCount, requiredRegisterCountForExit); } + + void validateReferences(const TrackedReferences&); RefPtr inlineCallFrames; Vector codeOrigins; @@ -95,8 +96,8 @@ public: Vector dfgIdentifiers; Vector transitions; Vector> weakReferences; - SegmentedVector watchpoints; - SegmentedVector profiledWatchpoints; + Vector> weakStructureReferences; + SegmentedVector watchpoints; Vector jumpReplacements; RefPtr compilation; @@ -104,9 +105,6 @@ public: bool allTransitionsHaveBeenMarked; // Initialized and used on every GC. bool isStillValid; - int machineCaptureStart; - std::unique_ptr slowArguments; - #if USE(JSVALUE32_64) std::unique_ptr> doubleConstants; #endif