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

Issue 231073002: WIP: Parser: delay string internalization. (Closed)

Created:
6 years, 8 months ago by marja
Modified:
6 years, 6 months ago
Reviewers:
ulan, rossberg
CC:
v8-dev
Visibility:
Public.

Description

WIP: Parser: delay string internalization. This is so that the Parser can be ran on a background thread. BUG=

Patch Set 1 #

Patch Set 2 : parseidentifier #

Patch Set 3 : variablemap2 #

Patch Set 4 : separate file #

Patch Set 5 : . #

Patch Set 6 : internalize scopes #

Patch Set 7 : oh my. #

Patch Set 8 : . #

Patch Set 9 : rebased #

Patch Set 10 : moar #

Patch Set 11 : . #

Patch Set 12 : wip #

Patch Set 13 : rebase #

Patch Set 14 : . #

Patch Set 15 : . #

Patch Set 16 : . #

Patch Set 17 : moar #

Patch Set 18 : . #

Patch Set 19 : . #

Patch Set 20 : . #

Patch Set 21 : moar #

Patch Set 22 : fixes #

Patch Set 23 : compiles again - wohoo! #

Patch Set 24 : rebased #

Patch Set 25 : labels and error handling #

Patch Set 26 : maor #

Patch Set 27 : failing with visiting -- a non working state #

Patch Set 28 : rebase #

Patch Set 29 : whole lotta fixes #

Patch Set 30 : works again. #

Patch Set 31 : wrrks again. #

Patch Set 32 : moar #

Patch Set 33 : error handling #

Patch Set 34 : regexps + cleanup #

Patch Set 35 : cleanup #

Patch Set 36 : . #

Patch Set 37 : fixes #

Patch Set 38 : fixes #

Patch Set 39 : more #

Patch Set 40 : more fixes #

Patch Set 41 : more mozilla fixes (scope names, empty strings as indices) #

Patch Set 42 : strict mode fixes #

Patch Set 43 : test262 works now #

Patch Set 44 : oops #

Patch Set 45 : mjsunit runs now #

Patch Set 46 : rebased #

Patch Set 47 : mozilla runs now #

Patch Set 48 : . #

Patch Set 49 : rebased #

Patch Set 50 : internalizing better #

Total comments: 42

Patch Set 51 : rebased #

Patch Set 52 : rebased #

Total comments: 3

Patch Set 53 : rebased #

Patch Set 54 : . #

Patch Set 55 : sidetrack: avoid copying strings to the backing store #

Patch Set 56 : back from the side track #

Patch Set 57 : cleanup + FIXMEs #

Patch Set 58 : minor fixes #

Patch Set 59 : rebased... (may contain fixes) #

Patch Set 60 : backup -- broken intermediate state #

Patch Set 61 : general literals - also numbers, bools and special values are delayed now! #

Patch Set 62 : cleanup #

Patch Set 63 : cleanup #

Patch Set 64 : . #

Patch Set 65 : rebased #

Patch Set 66 : . #

Patch Set 67 : renaming + cleanup #

Patch Set 68 : . #

Patch Set 69 : refactoring (killing fixmes) #

Patch Set 70 : two byte func name inferring #

Patch Set 71 : rebased #

Patch Set 72 : more cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1426 lines, -621 lines) Patch
M include/v8.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 1 chunk +1 line, -1 line 0 comments Download
M src/ast.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 45 chunks +135 lines, -81 lines 0 comments Download
M src/ast.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 7 chunks +14 lines, -20 lines 0 comments Download
A src/ast-string-table.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 1 chunk +283 lines, -0 lines 0 comments Download
A src/ast-string-table.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 1 chunk +337 lines, -0 lines 0 comments Download
M src/compiler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 3 chunks +8 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 5 chunks +9 lines, -4 lines 0 comments Download
M src/func-name-inferrer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 4 chunks +10 lines, -13 lines 0 comments Download
M src/func-name-inferrer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 2 chunks +90 lines, -36 lines 0 comments Download
M src/heap.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 3 chunks +0 lines, -11 lines 0 comments Download
M src/interface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 4 chunks +7 lines, -5 lines 0 comments Download
M src/interface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 4 chunks +9 lines, -15 lines 0 comments Download
M src/list.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 2 chunks +2 lines, -39 lines 0 comments Download
M src/parser.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 15 chunks +61 lines, -51 lines 0 comments Download
M src/parser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 103 chunks +234 lines, -215 lines 0 comments Download
M src/preparser.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 7 chunks +13 lines, -9 lines 0 comments Download
M src/prettyprinter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 2 chunks +3 lines, -2 lines 0 comments Download
M src/prettyprinter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 6 chunks +10 lines, -4 lines 0 comments Download
M src/rewriter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 3 chunks +8 lines, -4 lines 0 comments Download
M src/scanner.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 2 chunks +4 lines, -3 lines 0 comments Download
M src/scanner.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 2 chunks +9 lines, -15 lines 0 comments Download
M src/scopeinfo.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 1 chunk +1 line, -1 line 0 comments Download
M src/scopes.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 13 chunks +23 lines, -19 lines 0 comments Download
M src/scopes.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 35 chunks +75 lines, -63 lines 0 comments Download
M src/utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 2 chunks +31 lines, -0 lines 0 comments Download
M src/utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 1 chunk +20 lines, -0 lines 0 comments Download
M src/variables.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 4 chunks +5 lines, -3 lines 0 comments Download
M src/variables.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 2 chunks +1 line, -3 lines 0 comments Download
M test/cctest/test-ast.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 2 chunks +4 lines, -2 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 1 chunk +2 lines, -0 lines 0 comments Download
M tools/parser-shell.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 2 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
rossberg
Like it so far. My main suggestions for improvement are a cleaner interface for AST ...
6 years, 7 months ago (2014-05-08 12:52:07 UTC) #1
ulan
https://codereview.chromium.org/231073002/diff/920001/src/parser-symbol-table.cc File src/parser-symbol-table.cc (right): https://codereview.chromium.org/231073002/diff/920001/src/parser-symbol-table.cc#newcode57 src/parser-symbol-table.cc:57: if (string1->hash != string2->hash) return false; I think HashMap ...
6 years, 7 months ago (2014-05-21 15:01:21 UTC) #2
marja
https://codereview.chromium.org/231073002/diff/920001/src/parser-symbol-table.cc File src/parser-symbol-table.cc (right): https://codereview.chromium.org/231073002/diff/920001/src/parser-symbol-table.cc#newcode57 src/parser-symbol-table.cc:57: if (string1->hash != string2->hash) return false; On 2014/05/21 15:01:22, ...
6 years, 7 months ago (2014-05-21 17:16:44 UTC) #3
marja
Err, s/hash functions/hash values/.
6 years, 7 months ago (2014-05-21 17:22:48 UTC) #4
marja
(Marking comments done here. I'll create a new CL as this is moving away from ...
6 years, 6 months ago (2014-06-03 08:48:19 UTC) #5
marja
6 years, 6 months ago (2014-06-03 08:50:35 UTC) #6
.... and closing this one; the new CL is

https://codereview.chromium.org/314603004

Powered by Google App Engine
This is Rietveld 408576698