diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-07-11 13:45:28 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-07-11 13:45:28 +0200 |
commit | d6a599dbc9d824a462b2b206316e102bf8136446 (patch) | |
tree | ecb257a5e55b2239d74b90fdad62fccd661cf286 /Source/JavaScriptCore/bytecode/GetByIdStatus.h | |
parent | 3ccc3a85f09a83557b391aae380d3bf5f81a2911 (diff) | |
download | qtwebkit-d6a599dbc9d824a462b2b206316e102bf8136446.tar.gz |
Imported WebKit commit 8ff1f22783a32de82fee915abd55bd1b298f2644 (http://svn.webkit.org/repository/webkit/trunk@122325)
New snapshot that should work with the latest Qt build system changes
Diffstat (limited to 'Source/JavaScriptCore/bytecode/GetByIdStatus.h')
-rw-r--r-- | Source/JavaScriptCore/bytecode/GetByIdStatus.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/bytecode/GetByIdStatus.h b/Source/JavaScriptCore/bytecode/GetByIdStatus.h index 42eadfd68..297ec335f 100644 --- a/Source/JavaScriptCore/bytecode/GetByIdStatus.h +++ b/Source/JavaScriptCore/bytecode/GetByIdStatus.h @@ -26,6 +26,7 @@ #ifndef GetByIdStatus_h #define GetByIdStatus_h +#include "PropertyOffset.h" #include "StructureSet.h" #include <wtf/NotFound.h> @@ -46,13 +47,13 @@ public: GetByIdStatus() : m_state(NoInformation) - , m_offset(notFound) + , m_offset(invalidOffset) { } GetByIdStatus( State state, bool wasSeenInJIT, const StructureSet& structureSet = StructureSet(), - size_t offset = notFound, JSValue specificValue = JSValue(), Vector<Structure*> chain = Vector<Structure*>()) + size_t offset = invalidOffset, JSValue specificValue = JSValue(), Vector<Structure*> chain = Vector<Structure*>()) : m_state(state) , m_structureSet(structureSet) , m_chain(chain) @@ -76,7 +77,7 @@ public: const StructureSet& structureSet() const { return m_structureSet; } const Vector<Structure*>& chain() const { return m_chain; } // Returns empty vector if this is a direct access. JSValue specificValue() const { return m_specificValue; } // Returns JSValue() if there is no specific value. - size_t offset() const { return m_offset; } + PropertyOffset offset() const { return m_offset; } bool wasSeenInJIT() const { return m_wasSeenInJIT; } @@ -88,7 +89,7 @@ private: StructureSet m_structureSet; Vector<Structure*> m_chain; JSValue m_specificValue; - size_t m_offset; + PropertyOffset m_offset; bool m_wasSeenInJIT; }; |