X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/2d39b0e377c0896910ee49ae70082ba665faf986..ed1e77d3adeb83d26fd1dfb16dd84cabdcefd250:/bytecompiler/StaticPropertyAnalysis.h diff --git a/bytecompiler/StaticPropertyAnalysis.h b/bytecompiler/StaticPropertyAnalysis.h index 293c224..5a9918d 100644 --- a/bytecompiler/StaticPropertyAnalysis.h +++ b/bytecompiler/StaticPropertyAnalysis.h @@ -35,9 +35,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); }