Remove JSFunctionResultCache.
authoryangguo <yangguo@chromium.org>
Mon, 3 Aug 2015 18:13:56 +0000 (11:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 3 Aug 2015 18:14:17 +0000 (18:14 +0000)
commit4a2e4420b8af50ca066905d99e7d7938c9105258
treecce49288dbf22fdd3131e3caa00c41b8a1b7abc4
parent8d2eec506f6aa78d99ff78926d283a0625bc4c02
Remove JSFunctionResultCache.

There is only one use case for it: String.prototype.search converts a
string argument into a RegExp. The cache is used to avoid repeating that
conversion. However, this does not make the added complexity worthwhile.

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

Cr-Commit-Position: refs/heads/master@{#29985}
27 files changed:
include/v8.h
src/bailout-reason.h
src/bootstrapper.cc
src/contexts.h
src/full-codegen/arm/full-codegen-arm.cc
src/full-codegen/arm64/full-codegen-arm64.cc
src/full-codegen/full-codegen.h
src/full-codegen/ia32/full-codegen-ia32.cc
src/full-codegen/mips/full-codegen-mips.cc
src/full-codegen/mips64/full-codegen-mips64.cc
src/full-codegen/ppc/full-codegen-ppc.cc
src/full-codegen/x64/full-codegen-x64.cc
src/full-codegen/x87/full-codegen-x87.cc
src/heap-snapshot-generator.cc
src/heap/heap.cc
src/heap/heap.h
src/hydrogen.cc
src/hydrogen.h
src/objects-debug.cc
src/objects-inl.h
src/objects.h
src/runtime/runtime-internal.cc
src/runtime/runtime.h
src/string.js
test/cctest/cctest.cc
test/cctest/test-api.cc
test/cctest/test-threads.cc