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

Issue 225753004: Remove the PreCompile API and ScriptData. (Closed)

Created:
6 years, 8 months ago by marja
Modified:
6 years, 8 months ago
Reviewers:
Sven Panne
CC:
v8-dev, Paweł Hajdan Jr.
Visibility:
Public.

Description

Remove the PreCompile API and ScriptData. The new compilation API (ScriptCompiler::Compile) can produce the same data, so the separate precompilation phase is not needed. ScriptData is replaced by ScriptCompiler::CachedData. R=svenpanne@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=20683

Patch Set 1 #

Total comments: 11

Patch Set 2 : rebased #

Patch Set 3 : code review (svenpanne) #

Patch Set 4 : Add ScriptData::New, remove ctor. #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -204 lines) Patch
M include/v8.h View 1 2 3 4 5 6 2 chunks +1 line, -51 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 6 4 chunks +8 lines, -54 lines 0 comments Download
M src/compiler.h View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M src/compiler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/parser.h View 1 2 3 4 6 chunks +17 lines, -30 lines 0 comments Download
M src/parser.cc View 1 2 3 4 5 6 10 chunks +44 lines, -45 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 4 chunks +6 lines, -7 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 4 5 6 10 chunks +10 lines, -10 lines 0 comments Download
M tools/parser-shell.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
marja
svenpanne, PTAL. (Note: this is just removing stuff from the API, not adding anything. Chromium ...
6 years, 8 months ago (2014-04-04 13:12:30 UTC) #1
Sven Panne
https://codereview.chromium.org/225753004/diff/1/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/225753004/diff/1/src/parser.cc#newcode230 src/parser.cc:230: if (length % sizeof(unsigned) != 0) { Why do ...
6 years, 8 months ago (2014-04-07 12:44:44 UTC) #2
marja
svenpanne: Thanks for comments, could you take another look? https://codereview.chromium.org/225753004/diff/1/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/225753004/diff/1/src/parser.cc#newcode230 src/parser.cc:230: ...
6 years, 8 months ago (2014-04-09 12:53:54 UTC) #3
Sven Panne
https://codereview.chromium.org/225753004/diff/1/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/225753004/diff/1/src/parser.cc#newcode230 src/parser.cc:230: if (length % sizeof(unsigned) != 0) { I think ...
6 years, 8 months ago (2014-04-11 08:18:22 UTC) #4
marja
Offline discussion -> I'll do a follow-up change where we fail the compilation if the ...
6 years, 8 months ago (2014-04-11 09:04:33 UTC) #5
Sven Panne
lgtm
6 years, 8 months ago (2014-04-11 11:20:29 UTC) #6
marja
6 years, 8 months ago (2014-04-11 11:45:00 UTC) #7
Message was sent while issue was closed.
Committed patchset #7 manually as r20683 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698