Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: src/ic.cc

Issue 165993004: Use holder dictionary-mode to detect FAST or NORMAL (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic.cc
diff --git a/src/ic.cc b/src/ic.cc
index a264241dbaff66fcd1e4a4868b33cb1e7d912071..29281339f0ed2b52a9a165d45388aafa228a92a0 100644
--- a/src/ic.cc
+++ b/src/ic.cc
@@ -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(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698