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

Issue 6016007: Change codegen for literals to emit xor when literal is zero. (Closed)

Created:
10 years ago by Martin Maly
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Change codegen for literals to emit xor when literal is zero. BUG= TEST= Committed to bleeding edge in r6104,

Patch Set 1 #

Patch Set 2 : Removing unneeded Set method. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M src/ia32/full-codegen-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Martin Maly
Emit literal zero as xor is used in few places but while browsing through the ...
10 years ago (2010-12-21 01:56:39 UTC) #1
William Hesse
It is very important to make sure that Set() is not used in any place ...
10 years ago (2010-12-21 07:22:14 UTC) #2
mmaly
Thanks William, I removed the unneeded method and tracked down the conditional branches to confirm ...
10 years ago (2010-12-22 03:34:17 UTC) #3
William Hesse
10 years ago (2010-12-22 09:49:54 UTC) #4
LGTM.  I will commit it.

Powered by Google App Engine
This is Rietveld 408576698