summaryrefslogtreecommitdiffstats
path: root/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-09-14 16:29:47 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-09-14 16:29:47 +0200
commitd0424a769059c84ae20beb3c217812792ea6726b (patch)
tree6f94a5c3db8c52c6694ee56498542a6c35417350 /Source/JavaScriptCore/llint/LowLevelInterpreter.asm
parent88a04ac016f57c2d78e714682445dff2e7db4ade (diff)
Imported WebKit commit 37c5e5041d39a14ea0d429a77ebd352e4bd26516 (http://svn.webkit.org/repository/webkit/trunk@128608)
New snapshot that enables WebKit2 build on Windows (still some bugs) and allows for WebKit to be built with qmake && make
Diffstat (limited to 'Source/JavaScriptCore/llint/LowLevelInterpreter.asm')
-rw-r--r--Source/JavaScriptCore/llint/LowLevelInterpreter.asm12
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.asm b/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
index 4c590a1c3..6f5460aa7 100644
--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
@@ -61,6 +61,11 @@ else
const PayloadOffset = 0
end
+# Constant for reasoning about butterflies.
+const IsArray = 1
+const HasArrayStorage = 8
+const AllArrayTypes = 15
+
# Type constants.
const StringType = 5
const ObjectType = 13
@@ -339,7 +344,7 @@ macro allocateBasicJSObject(sizeClassIndex, structure, result, scratch1, scratch
# Initialize the object.
storep structure, JSCell::m_structure[result]
- storep 0, JSObject::m_outOfLineStorage[result]
+ storep 0, JSObject::m_butterfly[result]
end
end
@@ -514,7 +519,7 @@ macro withInlineStorage(object, propertyStorage, continuation)
end
macro withOutOfLineStorage(object, propertyStorage, continuation)
- loadp JSObject::m_outOfLineStorage[object], propertyStorage
+ loadp JSObject::m_butterfly[object], propertyStorage
# Indicate that the propertyStorage register now points to the
# property storage, and that the object register may be reused
# if the object pointer is not needed anymore.
@@ -845,9 +850,6 @@ macro notSupported()
end
end
-_llint_op_get_array_length:
- notSupported()
-
_llint_op_get_by_id_chain:
notSupported()