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

Issue 800433004: Use a typed array for the irregexp stack. (Closed)

Created:
5 years, 11 months ago by zerny-google
Modified:
5 years, 11 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Use a typed array for the irregexp stack. BUG= R=vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=43039

Patch Set 1 #

Patch Set 2 : whitespace #

Total comments: 9

Patch Set 3 : review comments #

Patch Set 4 : naming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -45 lines) Patch
M runtime/vm/code_generator.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
M runtime/vm/constant_propagator.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M runtime/vm/regexp.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/regexp_assembler.h View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/regexp_assembler.cc View 1 2 3 14 chunks +104 lines, -43 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
zerny-google
This CL replaces the RegExp backtracking stack with a typed-data array with explicit stack-bounds checks. ...
5 years, 11 months ago (2015-01-20 13:16:39 UTC) #2
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/800433004/diff/20001/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/800433004/diff/20001/runtime/vm/code_generator.cc#newcode1665 runtime/vm/code_generator.cc:1665: DEFINE_RUNTIME_ENTRY(GrowTypedData, 1) { The name is a bit ...
5 years, 11 months ago (2015-01-20 16:26:24 UTC) #3
zerny-google
thanks for the review. https://codereview.chromium.org/800433004/diff/20001/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/800433004/diff/20001/runtime/vm/code_generator.cc#newcode1665 runtime/vm/code_generator.cc:1665: DEFINE_RUNTIME_ENTRY(GrowTypedData, 1) { On 2015/01/20 ...
5 years, 11 months ago (2015-01-21 12:03:11 UTC) #4
Vyacheslav Egorov (Google)
lgtm! https://codereview.chromium.org/800433004/diff/20001/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/800433004/diff/20001/runtime/vm/code_generator.cc#newcode1665 runtime/vm/code_generator.cc:1665: DEFINE_RUNTIME_ENTRY(GrowTypedData, 1) { On 2015/01/21 12:03:11, zerny-google wrote: ...
5 years, 11 months ago (2015-01-21 12:10:00 UTC) #5
zerny-google
> Agreed. Maybe GrowRegExpStack then? Done.
5 years, 11 months ago (2015-01-21 13:25:43 UTC) #6
zerny-google
5 years, 11 months ago (2015-01-21 15:11:58 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 43039 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698