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

Unified Diff: src/hydrogen.cc

Issue 12620014: Fix detection of |handle_smi| case in HOptimizedGraphBuilder::HandlePolymorphicCallNamed (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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 | test/mjsunit/regress/regress-crbug-196583.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index ae97d5e4a81e56965e38fb5868f58deae06025e6..14feb5f1329eb89b3a738525e5640057d39a4202 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -7405,8 +7405,8 @@ void HOptimizedGraphBuilder::HandlePolymorphicCallNamed(
i < types->length() && ordered_functions < kMaxCallPolymorphism;
++i) {
Handle<Map> map = types->at(i);
- if (map.is_identical_to(number_marker_map)) handle_smi = true;
if (expr->ComputeTarget(map, name)) {
+ if (map.is_identical_to(number_marker_map)) handle_smi = true;
order[ordered_functions++] =
FunctionSorter(i,
expr->target()->shared()->profiler_ticks(),
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-196583.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698