summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/array-construct-transition.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-02-06 15:21:49 -0800
committerisaacs <i@izs.me>2012-02-06 15:21:49 -0800
commit8be699494ec67c3ba895bd8e1c9e3e73b02311d3 (patch)
tree22ee6f2ba22a26594ae0062c827c67710fc166db /deps/v8/test/mjsunit/array-construct-transition.js
parent23514fc94648185c092355bf3e5bbce76844bd42 (diff)
downloadandroid-node-v8-8be699494ec67c3ba895bd8e1c9e3e73b02311d3.tar.gz
android-node-v8-8be699494ec67c3ba895bd8e1c9e3e73b02311d3.tar.bz2
android-node-v8-8be699494ec67c3ba895bd8e1c9e3e73b02311d3.zip
Upgrade V8 to 3.9.2
Diffstat (limited to 'deps/v8/test/mjsunit/array-construct-transition.js')
-rw-r--r--deps/v8/test/mjsunit/array-construct-transition.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/array-construct-transition.js b/deps/v8/test/mjsunit/array-construct-transition.js
index 5865e3320d..577e321a55 100644
--- a/deps/v8/test/mjsunit/array-construct-transition.js
+++ b/deps/v8/test/mjsunit/array-construct-transition.js
@@ -1,4 +1,4 @@
-// Copyright 2011 the V8 project authors. All rights reserved.
+// Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -27,7 +27,7 @@
// Flags: --allow-natives-syntax --smi-only-arrays
-support_smi_only_arrays = %HasFastSmiOnlyElements([1,2,3,4,5,6,7,8,9,10]);
+support_smi_only_arrays = %HasFastSmiOnlyElements(new Array(1,2,3,4,5,6,7,8));
if (support_smi_only_arrays) {
var a = new Array(0, 1, 2);