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

Issue 184403002: Remove Script::SetData and the script_data parameter from Script::(Compile|New). (Closed)

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

Description

Remove Script::SetData and the script_data parameter from Script::(Compile|New). This feature makes it possible to associate data with a script and get it back when the script is compiled or when an event is handled. It was historically used by Chromium Dev Tools, but not any more. It is not used by node.js. Note: this has nothing to do with the preparse data, despite the confusing name. The preparse data is passed as ScriptData*. R=svenpanne@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=19616

Patch Set 1 #

Patch Set 2 : also remove from compiler api #

Patch Set 3 : remove internal data field from internal script #

Total comments: 2

Patch Set 4 : rebased #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -182 lines) Patch
M include/v8.h View 4 chunks +3 lines, -22 lines 0 comments Download
M src/accessors.h View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M src/accessors.cc View 1 2 1 chunk +0 lines, -20 lines 0 comments Download
M src/api.cc View 1 2 6 chunks +5 lines, -40 lines 0 comments Download
M src/bootstrapper.cc View 1 2 3 chunks +0 lines, -7 lines 0 comments Download
M src/compiler.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/compiler.cc View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M src/debug.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/factory.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M src/heap-snapshot-generator.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M src/liveedit.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M src/objects.h View 1 2 3 4 2 chunks +1 line, -5 lines 0 comments Download
M src/objects-debug.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M src/objects-inl.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M src/objects-printer.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M test/cctest/test-api.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M test/cctest/test-compiler.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M test/cctest/test-debug.cc View 9 chunks +3 lines, -67 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
marja
svenpanne, ptal
6 years, 9 months ago (2014-02-28 11:08:23 UTC) #1
marja
Oops, no, I should probably remove the underlying level too. I'll upload a new patch ...
6 years, 9 months ago (2014-02-28 11:50:55 UTC) #2
marja
alright, removed this from compilation API too.
6 years, 9 months ago (2014-02-28 12:02:37 UTC) #3
Sven Panne
I think this CL is still incomplete: One has to remove the "data" field from ...
6 years, 9 months ago (2014-02-28 12:48:27 UTC) #4
marja
... now removed also the internal data field from internal Script.
6 years, 9 months ago (2014-02-28 13:05:30 UTC) #5
Sven Panne
LGTM with a nit, but I've added Yury: He should probably have a quick look ...
6 years, 9 months ago (2014-02-28 13:18:56 UTC) #6
marja
Thanks for having a look! I talked with yurys@ earlier today and we concluded that ...
6 years, 9 months ago (2014-02-28 13:24:24 UTC) #7
marja
6 years, 9 months ago (2014-02-28 13:54:28 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 manually as r19616 (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698