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

Issue 14194: * Generate quick checks based on mask and compare for... (Closed)

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

Description

* Generate quick checks based on mask and compare for the alternatives in a choice node. The quick checks are conservative in the sense that they only detect failure with certainty. Checks can do 2 or 4 characters at a time. * Inline the quick checks to allow the alternatives to be checked without branching in the common case where they fail. Committed: http://code.google.com/p/v8/source/detail?r=1005

Patch Set 1 #

Total comments: 20

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1440 lines, -409 lines) Patch
M src/bytecodes-irregexp.h View 1 1 chunk +22 lines, -17 lines 0 comments Download
M src/interpreter-irregexp.cc View 1 5 chunks +96 lines, -19 lines 0 comments Download
M src/jsregexp.h View 1 12 chunks +147 lines, -16 lines 0 comments Download
M src/jsregexp.cc View 1 28 chunks +951 lines, -254 lines 0 comments Download
M src/regexp-macro-assembler.h View 1 3 chunks +18 lines, -12 lines 0 comments Download
M src/regexp-macro-assembler-ia32.h View 1 4 chunks +18 lines, -9 lines 0 comments Download
M src/regexp-macro-assembler-ia32.cc View 1 5 chunks +49 lines, -18 lines 0 comments Download
M src/regexp-macro-assembler-irregexp.h View 1 1 chunk +17 lines, -9 lines 0 comments Download
M src/regexp-macro-assembler-irregexp.cc View 1 5 chunks +52 lines, -23 lines 0 comments Download
M src/regexp-macro-assembler-tracer.h View 1 3 chunks +16 lines, -10 lines 0 comments Download
M src/regexp-macro-assembler-tracer.cc View 1 3 chunks +44 lines, -22 lines 0 comments Download
M test/mjsunit/regexp.js View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Erik Corry
12 years ago (2008-12-17 14:20:57 UTC) #1
Christian Plesner Hansen
My poor head! This could would benefit from some more documentation -- there's a lot ...
12 years ago (2008-12-18 09:52:26 UTC) #2
Erik Corry
12 years ago (2008-12-19 10:15:15 UTC) #3
Erik Corry
Here's a new upload. I cleaned up some stuff putting the details of the quick ...
12 years ago (2008-12-19 10:17:15 UTC) #4
Christian Plesner Hansen
12 years ago (2008-12-19 11:51:49 UTC) #5
Lgtm!

Powered by Google App Engine
This is Rietveld 408576698