Added %_HeapObjectGetMap and %_MapGetInstanceType intrinsics.
authorsvenpanne <svenpanne@chromium.org>
Tue, 24 Mar 2015 15:20:46 +0000 (08:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 24 Mar 2015 15:20:57 +0000 (15:20 +0000)
commit20dce719eeb4a066d067d5aac7f849ce8a3271ac
treed38ac30b1ad3fd43d59886b6c2cbb73ed8aa6c3c
parent4c806802b5e839e29e6febbd68163adda37f1ad7
Added %_HeapObjectGetMap and %_MapGetInstanceType intrinsics.

These are needed (among other things) for a TurboFan-generated
StringAddStub. Furthermore, they can be used to nuke the overly
complex %_IsInstanceType intrisic, it's completely expressible in
JavaScript now, but that will be done in a separate CL.

Alpha-sorted things a bit on the way to ease navigation.

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

Cr-Commit-Position: refs/heads/master@{#27415}
src/compiler/js-intrinsic-lowering.cc
src/compiler/js-intrinsic-lowering.h
src/runtime/runtime-object.cc
src/runtime/runtime.h
test/cctest/compiler/test-run-intrinsics.cc