We should support the ability to do a non-effectful getById
[WebKit-https.git] / Source / JavaScriptCore / bytecode / StructureStubInfo.cpp
index ace61f4..ff9fed2 100644 (file)
@@ -148,8 +148,11 @@ void StructureStubInfo::reset(CodeBlock* codeBlock)
     }
 
     switch (accessType) {
+    case AccessType::GetPure:
+        resetGetByID(codeBlock, *this, GetByIDKind::Pure);
+        break;
     case AccessType::Get:
-        resetGetByID(codeBlock, *this);
+        resetGetByID(codeBlock, *this, GetByIDKind::Normal);
         break;
     case AccessType::Put:
         resetPutByID(codeBlock, *this);