Allow lookup of module exports by export name.
authoradamk <adamk@chromium.org>
Fri, 27 Feb 2015 18:04:46 +0000 (10:04 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 Feb 2015 18:04:56 +0000 (18:04 +0000)
commita7840a2b3ea2db8b8bd3b80311334dbe39256ebc
treef8ae13f3661d8b72743b2f4c44b59f0923bd461a
parentbd21d72d507625e5caf70f31ee11c8c21ead1651
Allow lookup of module exports by export name.

This required fixing the exports_ hash map to use the appropriate
comparison function instead of pointer comparison.

BUG=v8:1569
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#26920}
src/modules.cc
src/modules.h
test/cctest/test-parsing.cc