Create optimized versions of the Map/Set clear method
authoradamk <adamk@chromium.org>
Wed, 10 Dec 2014 22:16:12 +0000 (14:16 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Dec 2014 22:16:33 +0000 (22:16 +0000)
commit9aab9f13d64d445d10b18d2b3c1cd7e429c5b41f
treee9e28d476efd29fa374f013afc078c00838855c1
parent33f0cf5acd0b0514ceb11e108337e36b50edb018
Create optimized versions of the Map/Set clear method

This completes the first round of optimizations for Map and Set.
All non-key-dependent methods now have a Hydrogen version, and
for keyed methods, string versions are optimized.

Review URL: https://codereview.chromium.org/796503002

Cr-Commit-Position: refs/heads/master@{#25763}
src/collection.js
src/hydrogen-instructions.h
src/hydrogen.cc
src/hydrogen.h
src/objects.cc
src/objects.h
src/runtime/runtime.h