Index: src/js/typedarray.js |
diff --git a/src/js/typedarray.js b/src/js/typedarray.js |
index fd668a57fddceb2222d31d91ccad806dc5395bc8..b3e1c829dd62b9926a3c335f952a20a233dc22db 100644 |
--- a/src/js/typedarray.js |
+++ b/src/js/typedarray.js |
@@ -261,14 +261,6 @@ |
} else { |
throw MakeTypeError(kConstructorNotFunction, "NAME") |
} |
-} |
- |
-// TODO(littledan): Remove this performance workaround BUG(chromium:579905) |
-function NAME_GetLength() { |
- if (!(%_ClassOf(this) === 'NAME')) { |
- throw MakeTypeError(kIncompatibleMethodReceiver, "NAME.length", this); |
- } |
- return %_TypedArrayGetLength(this); |
} |
function NAMESubArray(begin, end) { |
@@ -837,9 +829,6 @@ |
%AddNamedProperty(GlobalNAME.prototype, |
"BYTES_PER_ELEMENT", ELEMENT_SIZE, |
READ_ONLY | DONT_ENUM | DONT_DELETE); |
- // TODO(littledan): Remove this performance workaround BUG(chromium:579905) |
- utils.InstallGetter(GlobalNAME.prototype, "length", NAME_GetLength, |
- DONT_ENUM | DONT_DELETE); |
endmacro |
TYPED_ARRAYS(SETUP_TYPED_ARRAY) |