Changeset 39800 in webkit for trunk/JavaScriptCore/interpreter
- Timestamp:
- Jan 11, 2009, 11:47:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r39799 r39800 5117 5117 result = jsArray->JSArray::get(callFrame, i); 5118 5118 } else if (interpreter->isJSString(baseValue) && asString(baseValue)->canGetIndex(i)) 5119 result = JSValuePtr::encode(asString(baseValue)->getIndex(ARG_globalData, i));5119 result = asString(baseValue)->getIndex(ARG_globalData, i); 5120 5120 else if (interpreter->isJSByteArray(baseValue) && asByteArray(baseValue)->canAccessIndex(i)) { 5121 5121 // All fast byte array accesses are safe from exceptions so return immediately to avoid exception checks.
Note:
See TracChangeset
for help on using the changeset viewer.