Rename AtomicString to AtomString
[WebKit-https.git] / Source / JavaScriptCore / jit / JITOperations.cpp
index fbd6d73..7ba1823 100644 (file)
@@ -1841,12 +1841,12 @@ static JSValue getByVal(ExecState* exec, JSValue baseValue, JSValue subscript, B
     if (LIKELY(baseValue.isCell() && subscript.isString())) {
         Structure& structure = *baseValue.asCell()->structure(vm);
         if (JSCell::canUseFastGetOwnProperty(structure)) {
-            RefPtr<AtomicStringImpl> existingAtomicString = asString(subscript)->toExistingAtomicString(exec);
+            RefPtr<AtomStringImpl> existingAtomString = asString(subscript)->toExistingAtomString(exec);
             RETURN_IF_EXCEPTION(scope, JSValue());
-            if (existingAtomicString) {
-                if (JSValue result = baseValue.asCell()->fastGetOwnProperty(vm, structure, existingAtomicString.get())) {
+            if (existingAtomString) {
+                if (JSValue result = baseValue.asCell()->fastGetOwnProperty(vm, structure, existingAtomString.get())) {
                     ASSERT(exec->bytecodeOffset());
-                    if (byValInfo->stubInfo && byValInfo->cachedId.impl() != existingAtomicString)
+                    if (byValInfo->stubInfo && byValInfo->cachedId.impl() != existingAtomString)
                         byValInfo->tookSlowPath = true;
                     return result;
                 }