Reapply the parts of revision 3545 that did not work because of broken
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 12 Jan 2010 11:56:19 +0000 (11:56 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 12 Jan 2010 11:56:19 +0000 (11:56 +0000)
fixups code on ARM.
Review URL: http://codereview.chromium.org/545025

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3583 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/runtime.js

index ce2f197f9ae862492e99030a0fea6c75101d846b..3756aa3cbb65c5e1a42cd88e8f90ed367da97353 100644 (file)
@@ -430,7 +430,7 @@ function APPLY_PREPARE(args) {
     }
   }
 
-  length = (args == null) ? 0 : %ToUint32(args.length);
+  length = (args == null) ? 0 : TO_UINT32(args.length);
 
   // We can handle any number of apply arguments if the stack is
   // big enough, but sanity check the value to avoid overflow when