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

Issue 2800042: JS2C tweaks: (Closed)

Created:
10 years, 5 months ago by Vitaly Repeshko
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

JS2C tweaks: o Only substitute constant values for full-words and not for accidental partial matches. o Keep the order of macros as in macros.py and allow depending on the previous macros. We used to allow depending on macros that happened to sort after the current one in the dictionary. Committed: http://code.google.com/p/v8/source/detail?r=5022

Patch Set 1 #

Patch Set 2 : Removed debug print. #

Total comments: 3

Patch Set 3 : Switched to RE for macro calls. #

Patch Set 4 : . #

Patch Set 5 : Thinko #

Patch Set 6 : Fixed bug in macro search #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -13 lines) Patch
M tools/js2c.py View 1 2 3 4 5 5 chunks +17 lines, -13 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Vitaly Repeshko
10 years, 5 months ago (2010-07-05 13:12:58 UTC) #1
Vyacheslav Egorov (Chromium)
http://codereview.chromium.org/2800042/diff/3001/4001 File tools/js2c.py (right): http://codereview.chromium.org/2800042/diff/3001/4001#newcode118 tools/js2c.py:118: start = lines.find(name + '(', offset) You probably wanted: ...
10 years, 5 months ago (2010-07-05 13:47:31 UTC) #2
Vitaly Repeshko
Switched to using regexps for macro names (built when reading macros). Please take another look. ...
10 years, 5 months ago (2010-07-05 14:06:18 UTC) #3
Vyacheslav Egorov (Chromium)
10 years, 5 months ago (2010-07-05 14:22:57 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698