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

Unified Diff: src/ia32/lithium-codegen-ia32.cc

Issue 15735005: Collect type feedback for power-of-2 right operands in BinaryOps. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Created 7 years, 7 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 | « src/ia32/code-stubs-ia32.cc ('k') | src/ic.cc » ('j') | src/ic.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ia32/lithium-codegen-ia32.cc
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
index dddd1c68eb8131b32e7b39e8da92985526c29d65..e53be403a7d620877de43157cb123a5c6caa1b6c 100644
--- a/src/ia32/lithium-codegen-ia32.cc
+++ b/src/ia32/lithium-codegen-ia32.cc
@@ -1269,6 +1269,10 @@ void LCodeGen::DoModI(LModI* instr) {
ASSERT(!right_reg.is(eax));
ASSERT(!right_reg.is(edx));
+ Comment(";;; modi has_fixed_right_arg:%d fixed_right_arg_value:%d",
Jakob Kummerow 2013/06/03 09:49:30 This looks like a debugging leftover.
Sven Panne 2013/06/03 12:37:02 Done.
+ instr->hydrogen()->has_fixed_right_arg(),
+ instr->hydrogen()->fixed_right_arg_value());
+
// Check for x % 0.
if (instr->hydrogen()->CheckFlag(HValue::kCanBeDivByZero)) {
__ test(right_reg, Operand(right_reg));
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ic.cc » ('j') | src/ic.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698