Introduce faster swapping primitives.
authorantonm@chromium.org <antonm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 29 Apr 2010 15:14:39 +0000 (15:14 +0000)
committerantonm@chromium.org <antonm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 29 Apr 2010 15:14:39 +0000 (15:14 +0000)
commit55e32d2f3b8b55fc6ec165b5955ac4f4d96de331
tree84b1d66fd94fb0eec1c83843e7ff8d00b43e95c7
parentc98c930b1fadb3be1fcb0b514f370da559854193
Introduce faster swapping primitives.

Keyed store stub sits high in sorting profiles.

Swapping allows to save us additional type checks as we could both read and
write elmenets (on fast path) without them.

Review URL: http://codereview.chromium.org/1709008

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4551 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
12 files changed:
src/arm/codegen-arm.cc
src/arm/codegen-arm.h
src/array.js
src/codegen.h
src/ia32/codegen-ia32.cc
src/ia32/codegen-ia32.h
src/ic.h
src/runtime.cc
src/runtime.h
src/x64/codegen-x64.cc
src/x64/codegen-x64.h
test/mjsunit/fuzz-natives.js