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

Issue 173003: Fix IA32 build when not using native regexp compiler. (Closed)

Created:
11 years, 4 months ago by Feng Qian
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix IA32 build when not using native regexp compiler. Committed: http://code.google.com/p/v8/source/detail?r=2709

Patch Set 1 #

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

Messages

Total messages: 2 (0 generated)
Kasper Lund
LGTM.
11 years, 4 months ago (2009-08-18 17:26:07 UTC) #1
Lasse Reichstein
11 years, 4 months ago (2009-08-19 05:19:57 UTC) #2
http://codereview.chromium.org/173003/diff/1/2
File src/ia32/regexp-macro-assembler-ia32.cc (right):

http://codereview.chromium.org/173003/diff/1/2#newcode41
Line 41: #ifdef V8_NATIVE_REGEXP
If we don't use native regexps, this file should not be compiled at all. The
scons and gyp files should work like this *cross fingers*. How are you building
to have a problem here?

http://codereview.chromium.org/173003/diff/1/3
File src/ia32/regexp-macro-assembler-ia32.h (right):

http://codereview.chromium.org/173003/diff/1/3#newcode34
Line 34: #ifndef V8_NATIVE_REGEXP
If we don't use native regexps then we shouldn't include
regexp-macro-assembler-ia32.h at all. If we do, it is an error, but it should be
fixed by ifdef'ing the include instead.

Powered by Google App Engine
This is Rietveld 408576698