From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/JavaScriptCore/bytecompiler/StaticPropertyAnalysis.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Source/JavaScriptCore/bytecompiler/StaticPropertyAnalysis.h') diff --git a/Source/JavaScriptCore/bytecompiler/StaticPropertyAnalysis.h b/Source/JavaScriptCore/bytecompiler/StaticPropertyAnalysis.h index 293c22414..d11be1a32 100644 --- a/Source/JavaScriptCore/bytecompiler/StaticPropertyAnalysis.h +++ b/Source/JavaScriptCore/bytecompiler/StaticPropertyAnalysis.h @@ -23,10 +23,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef StaticPropertyAnalysis_h -#define StaticPropertyAnalysis_h +#pragma once -#include "Executable.h" #include "JSGlobalObject.h" #include @@ -35,9 +33,9 @@ namespace JSC { // Reference count indicates number of live registers that alias this object. class StaticPropertyAnalysis : public RefCounted { public: - static PassRefPtr create(Vector* instructions, unsigned target) + static Ref create(Vector* instructions, unsigned target) { - return adoptRef(new StaticPropertyAnalysis(instructions, target)); + return adoptRef(*new StaticPropertyAnalysis(instructions, target)); } void addPropertyIndex(unsigned propertyIndex) { m_propertyIndexes.add(propertyIndex); } @@ -63,5 +61,3 @@ private: }; } // namespace JSC - -#endif // StaticPropertyAnalysis_h -- cgit v1.2.1