Keep only captured symbols in CodeBlock symbol tables.
[WebKit-https.git] / Source / JavaScriptCore / bytecompiler / StaticPropertyAnalyzer.h
index c1246b4eba59e9ff4fee3b0c716036857d39d022..e63fef86a107c8e4808fbb0000fd3ed57a838a8e 100644 (file)
@@ -50,7 +50,7 @@ private:
     void kill(StaticPropertyAnalysis*);
 
     Vector<UnlinkedInstruction, 0, UnsafeVectorOverflow>* m_instructions;
-    typedef HashMap<int, RefPtr<StaticPropertyAnalysis>, WTF::IntHash<int>, WTF::UnsignedWithZeroKeyHashTraits<int> > AnalysisMap;
+    typedef HashMap<int, RefPtr<StaticPropertyAnalysis>, WTF::IntHash<int>, WTF::UnsignedWithZeroKeyHashTraits<int>> AnalysisMap;
     AnalysisMap m_analyses;
 };
 
@@ -78,7 +78,7 @@ inline void StaticPropertyAnalyzer::newObject(int dst, unsigned offsetOfInlineCa
 
 inline void StaticPropertyAnalyzer::putById(int dst, unsigned propertyIndex)
 {
-    StaticPropertyAnalysis* analysis = m_analyses.get(dst).get();
+    StaticPropertyAnalysis* analysis = m_analyses.get(dst);
     if (!analysis)
         return;
     analysis->addPropertyIndex(propertyIndex);