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

Issue 6635041: Fix bug in X64 RegExpExec stub. (Closed)

Created:
9 years, 9 months ago by Lasse Reichstein
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix bug in X64 RegExpExec stub. Used incorrect register for referencing RegExp data, so it always failed to match the fast case. When modifiying the object layout, it was possible to make it crash instead. BUG=v8:1236 TEST=test/mjsunit/regress/regress-1236.js Committed: http://code.google.com/p/v8/source/detail?r=7091

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -18 lines) Patch
M src/jsregexp.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/x64/code-stubs-x64.cc View 3 chunks +9 lines, -10 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 chunk +6 lines, -7 lines 0 comments Download
A test/mjsunit/regress/regress-1236.js View 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Lasse Reichstein
9 years, 9 months ago (2011-03-08 13:08:00 UTC) #1
Søren Thygesen Gjesse
9 years, 9 months ago (2011-03-08 13:59:42 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698