Index: src/typedarray.js |
diff --git a/src/typedarray.js b/src/typedarray.js |
index 13a9cfb8e8470b1ac528e4d242173c426bc49404..109d627008daeb7115c60196aabbafadc84edeca 100644 |
--- a/src/typedarray.js |
+++ b/src/typedarray.js |
@@ -261,7 +261,7 @@ function TypedArraySet(obj, offset) { |
throw MakeTypeError("typed_array_set_negative_offset"); |
} |
- if (intOffset > %MaxSmi()) { |
+ if (intOffset > %_MaxSmi()) { |
throw MakeRangeError("typed_array_set_source_too_large"); |
} |
switch (%TypedArraySetFastCases(this, obj, intOffset)) { |