Rename propertyOffsetFor => offsetForPropertyNumber
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Jan 2013 20:13:21 +0000 (20:13 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Jan 2013 20:13:21 +0000 (20:13 +0000)
commitf7cd0652bfe3fc735b92d6e3a98978c246bea2ea
treea5571aaef4716914b969ee310275bb6a065984cb
parente38fb6c838fc8c9287a6827bf2f397c29a273edc
Rename propertyOffsetFor => offsetForPropertyNumber
https://bugs.webkit.org/show_bug.cgi?id=106685

Reviewed by Gavin Barraclough.

Since the argument is just a typedef and not an object, I wanted to clarify the meaning.

* runtime/PropertyMapHashTable.h:
(JSC::PropertyTable::nextOffset): Updated for rename.

* runtime/PropertyOffset.h:
(JSC::offsetForPropertyNumber): Renamed. Also changed some PropertyOffset variables
to plain ints, because they're not actually on the PropertyOffsets number line.

* runtime/Structure.cpp:
(JSC::Structure::flattenDictionaryStructure):
* runtime/Structure.h:
(JSC::Structure::lastValidOffset): Updated for rename.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@139481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/PropertyMapHashTable.h
Source/JavaScriptCore/runtime/PropertyOffset.h
Source/JavaScriptCore/runtime/Structure.cpp
Source/JavaScriptCore/runtime/Structure.h