summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
diff options
context:
space:
mode:
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()