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

Issue 607004: Add central bridge for liveedit support (Closed)

Created:
10 years, 10 months ago by Peter Rybin
Modified:
9 years, 7 months ago
CC:
v8-dev, Kevin Millikin (Chromium)
Visibility:
Public.

Description

Add central bridge for liveedit support Committed: http://code.google.com/p/v8/source/detail?r=3891

Patch Set 1 #

Patch Set 2 : clean-up #

Patch Set 3 : merge #

Total comments: 8

Patch Set 4 : follow codereview #

Total comments: 4

Patch Set 5 : follow codereview #

Patch Set 6 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -3 lines) Patch
M src/SConscript View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/codegen.cc View 1 2 3 4 4 chunks +6 lines, -1 line 0 comments Download
M src/compiler.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M src/full-codegen.cc View 1 2 3 4 3 chunks +6 lines, -1 line 0 comments Download
A src/liveedit.h View 1 2 3 4 5 1 chunk +78 lines, -0 lines 0 comments Download
A src/liveedit.cc View 1 2 3 4 1 chunk +87 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base.vcproj View 1 chunk +8 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base_arm.vcproj View 1 chunk +8 lines, -0 lines 0 comments Download
M tools/visual_studio/v8_base_x64.vcproj View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Peter Rybin
Hi Sorren I've been working on liveedit feature implementation. I think we had some good ...
10 years, 10 months ago (2010-02-15 22:50:30 UTC) #1
Peter Rybin
Soren, I'm sorry. I used your gmail address. +sgjesse@chromium.org Peter
10 years, 10 months ago (2010-02-15 22:53:57 UTC) #2
Søren Thygesen Gjesse
Kevin, Could you please look at this addition to the compiler infrastructure? Will it be ...
10 years, 10 months ago (2010-02-16 09:40:09 UTC) #3
Peter Rybin
On 2010/02/16 09:40:09, Søren Gjesse wrote: > Peter, > > Please drop ENABLE_LIVEEDIT_SUPPORT and instead ...
10 years, 10 months ago (2010-02-16 14:36:00 UTC) #4
Peter Rybin
> Please drop ENABLE_LIVEEDIT_SUPPORT and instead hide live edit behind the flag > (flag-definitions.h) FLAG_live_edit. ...
10 years, 10 months ago (2010-02-16 23:13:24 UTC) #5
Søren Thygesen Gjesse
10 years, 10 months ago (2010-02-17 08:48:05 UTC) #6
LGTM

I can see a flag does not make much sense.

Regarding the xcode project there is a tool in the Chromium repository under
src/tools/xcodebodge which can update xcode project files. If you can't make
that work you can leave the xcode project for now.

http://codereview.chromium.org/607004/diff/6001/5003
File src/codegen.cc (right):

http://codereview.chromium.org/607004/diff/6001/5003#newcode238
src/codegen.cc:238: #ifdef ENABLE_DEBUGGER_SUPPORT
I think we should loose the #ifdef/#endif here as without live edit enabled this
should be very light weight. The #ifdef ENABLE_DEBUGGER_SUPPORT is mainly used
to produce a smaller binary, and here I think it clutters the code without
saving much in the size of the binary.

http://codereview.chromium.org/607004/diff/6001/5004
File src/compiler.cc (right):

http://codereview.chromium.org/607004/diff/6001/5004#newcode120
src/compiler.cc:120: #ifdef ENABLE_DEBUGGER_SUPPORT
Looks as if this is not used. It is just a duplicate of MakeCode.

http://codereview.chromium.org/607004/diff/6001/5005
File src/compiler.h (right):

http://codereview.chromium.org/607004/diff/6001/5005#newcode226
src/compiler.h:226: 
Where is this function used?

http://codereview.chromium.org/607004/diff/6001/5006
File src/full-codegen.cc (right):

http://codereview.chromium.org/607004/diff/6001/5006#newcode451
src/full-codegen.cc:451: MacroAssembler masm(NULL, kInitialBufferSize);
Also drop #ifdef/#endif here

Powered by Google App Engine
This is Rietveld 408576698