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

Issue 22831010: Move enum CompilationType from objects.h to include/v8.h, (Closed)

Created:
7 years, 4 months ago by johnjbarton
Modified:
7 years, 4 months ago
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Move enum CompilationType from objects.h to include/v8.h, so it is available for embedders (eg blink). BUG=v8:2844

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -15 lines) Patch
M include/v8.h View 1 chunk +6 lines, -0 lines 1 comment Download
M src/accessors.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/isolate.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/objects.h View 2 chunks +2 lines, -8 lines 0 comments Download
M src/objects-inl.h View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
johnjbarton
Ready for review
7 years, 4 months ago (2013-08-15 20:55:57 UTC) #1
johnjbarton
On 2013/08/15 20:55:57, johnjbarton wrote: > Ready for review BUG= https://code.google.com/p/v8/issues/detail?id=2844
7 years, 4 months ago (2013-08-15 20:56:53 UTC) #2
Michael Starzinger
Taking this one over from Michael Stanton, since he is on vacation. https://codereview.chromium.org/22831010/diff/1/include/v8.h File include/v8.h ...
7 years, 4 months ago (2013-08-19 19:42:28 UTC) #3
johnjbarton
On 2013/08/19 19:42:28, Michael Starzinger wrote: > Would it be possible to add a ScriptMirror.prototype.compiledThroughEval ...
7 years, 4 months ago (2013-08-19 20:40:31 UTC) #4
Michael Starzinger
7 years, 4 months ago (2013-08-19 21:00:37 UTC) #5
Message was sent while issue was closed.
On 2013/08/19 20:40:31, johnjbarton wrote:
> On 2013/08/19 19:42:28, Michael Starzinger wrote:
> > Would it be possible to add a ScriptMirror.prototype.compiledThroughEval (or
> > similar name) predicate to do the job? This predicate could then rely on the
> > JavaScript constants that we have defined in macros.py for that purpose.
Also
> > note that I am not particularly familiar with the debugger API, so take this
> > suggestion with a grain of salt.
> 
> Aha! Thanks for the hint!  Apparently v8/src/debug-debugger.js is included in
> blink's Debug context along with WebKit/Source/bindings/v8/DebuggerScript.js.
> And in debug-debugger.js there is Debug.ScriptCompilationType exactly what I
> need.

Awesome! I wasn't aware of Debug.ScriptCompilationType either until now. Yes,
this sounds much cleaner. Happy I could help.

Powered by Google App Engine
This is Rietveld 408576698