X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..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); }