Commit 1d8997db authored by verwaest@chromium.org's avatar verwaest@chromium.org

Use holder dictionary-mode to detect FAST or NORMAL

BUG=
R=ishell@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19518 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 2fe15278
......@@ -840,7 +840,7 @@ Handle<Code> IC::ComputeHandler(LookupResult* lookup,
Handle<Code> code = isolate()->stub_cache()->FindHandler(
name, handle(stub_holder->map()), kind(), cache_holder,
lookup->IsNormal() ? Code::NORMAL : Code::FAST);
lookup->holder()->HasFastProperties() ? Code::FAST : Code::NORMAL);
if (!code.is_null()) {
#ifdef DEBUG
Handle<Code> compiled = CompileHandler(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment