summaryrefslogtreecommitdiffstats
path: root/src/array.js
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2010-02-26 13:31:12 +0000
committerAndrei Popescu <andreip@google.com>2010-02-26 13:31:12 +0000
commit402d937239b0e2fd11bf2f4fe972ad78aa9fd481 (patch)
treeb9d769439a27fa48d7171e1a669e98f519591b94 /src/array.js
parent2007755a32dfa1ac843f501dec4fb872f8bbcc52 (diff)
downloadandroid_external_v8-402d937239b0e2fd11bf2f4fe972ad78aa9fd481.tar.gz
android_external_v8-402d937239b0e2fd11bf2f4fe972ad78aa9fd481.tar.bz2
android_external_v8-402d937239b0e2fd11bf2f4fe972ad78aa9fd481.zip
update V8 to TOT snapshot branch
Diffstat (limited to 'src/array.js')
-rw-r--r--src/array.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/array.js b/src/array.js
index c3ab179d..c28a6629 100644
--- a/src/array.js
+++ b/src/array.js
@@ -566,10 +566,11 @@ function ArraySlice(start, end) {
function ArraySplice(start, delete_count) {
var num_arguments = %_ArgumentsLength();
- // SpiderMonkey and KJS return undefined in the case where no
+ // SpiderMonkey and JSC return undefined in the case where no
// arguments are given instead of using the implicit undefined
// arguments. This does not follow ECMA-262, but we do the same for
// compatibility.
+ // TraceMonkey follows ECMA-262 though.
if (num_arguments == 0) return;
var len = TO_UINT32(this.length);
@@ -582,7 +583,7 @@ function ArraySplice(start, delete_count) {
if (start_i > len) start_i = len;
}
- // SpiderMonkey and KJS treat the case where no delete count is
+ // SpiderMonkey, TraceMonkey and JSC treat the case where no delete count is
// given differently from when an undefined delete count is given.
// This does not follow ECMA-262, but we do the same for
// compatibility.