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

Issue 13244: Fixes to IA32 code generator to cope with new (Closed)

Created:
12 years ago by Erik Corry
Modified:
9 years, 7 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Fixes to IA32 code generator to cope with new code generation machinery. Committed: http://code.google.com/p/v8/source/detail?r=935

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M src/regexp-macro-assembler-ia32.cc View 4 chunks +9 lines, -4 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Erik Corry
12 years ago (2008-12-08 10:20:19 UTC) #1
Lasse Reichstein
12 years ago (2008-12-08 10:25:44 UTC) #2
LGTM

http://codereview.chromium.org/13244/diff/1/2
File src/regexp-macro-assembler-ia32.cc (right):

http://codereview.chromium.org/13244/diff/1/2#newcode666
Line 666: __ lea(eax, Operand(edi, cp_offset));
You can use char_size() to generalize code that only differ on character size,
not opcode, without switching on mode:
 __ lea(eax, Operand(edi, cp_offset * char_size());

Powered by Google App Engine
This is Rietveld 408576698