On Wed, Mar 26, 2014 at 1:11 AM, Kevin Ingwersen
ingwie2...@googlemail.com wrote:
How do I make v8 always behave as it was opened with --harmony as a command
line parameter?
V8::SetFlagsFromCommandLine(argc, argv, true);
V8::SetFlagsFromString(--harmony, sizeof(--harmony) - 1);
On Wed, Mar 26, 2014 at 1:05 AM, Kevin Ingwersen
ingwie2...@googlemail.com wrote:
Hey.
When I create a custom isolate, and then call V8::Dispose(), I get a big
error:
#
# Fatal error in ../../deps/v8/src/isolate.h, line 456
# CHECK(isolate != __null) failed
#
C stack trace
In a C++ callback, one argument is a function and I want to get the
LocalFunction handle of it. With an earlier version of V8, this worked.
LocalFunction function = LocalFunction::Cast(args[0]-ToObject());
Now, I tried to directly cast the argument like I've seen it in an example.
This is my
Thanks Gergory, I'm glad you could solve that issue. Your solution doesn't
work for v8::Function however so I opened another thread.
Am Mittwoch, 26. März 2014 02:03:14 UTC+1 schrieb Gregory Hlavac:
LocalFunctionTemplate funcTmpl = FunctionTemplate::New(iso,
ConstructHandle);
To
I just tried splitting the line into two lines.
LocalFunction function;
function = HandleFunction::Cast(args[0]);
The error already occurs at LocalFunction function;. What am I doing
wrong? Other local handles can be created just fine. Changing Local to
Handle doesn't work either.
Am
On Wed, Mar 26, 2014 at 9:33 AM, danijar pfis...@gmail.com wrote:
I just tried splitting the line into two lines.
LocalFunction function;
function = HandleFunction::Cast(args[0]);
The error already occurs at LocalFunction function;. What am I doing
wrong? Other local handles can be created
For the record, I would recommend not to enable --harmony by default.
There's a reason this flag exists: the features it enables are generally
not ready for prime-time yet. While some might be very close to what will
be enabled by default at some point, others may be crashy, buggy,
incomplete, or
On 26 March 2014 10:38, Jakob Kummerow jkumme...@chromium.org wrote:
For the record, I would recommend not to enable --harmony by default.
There's a reason this flag exists: the features it enables are generally not
ready for prime-time yet. While some might be very close to what will be
Wow, thanks a lot. I tried using Cast() before which failed.
Am Mittwoch, 26. März 2014 09:48:01 UTC+1 schrieb Ben Noordhuis:
On Wed, Mar 26, 2014 at 9:33 AM, danijar pfi...@gmail.com javascript:
wrote:
I just tried splitting the line into two lines.
LocalFunction function;
Wow, thanks a lot! I tried Cast() before but that failed.
Am Mittwoch, 26. März 2014 09:48:01 UTC+1 schrieb Ben Noordhuis:
On Wed, Mar 26, 2014 at 9:33 AM, danijar pfi...@gmail.com javascript:
wrote:
I just tried splitting the line into two lines.
LocalFunction function;
function
Hey, and thanks for all the repleis!
I was going to want to use --harmony, due to some weird crasht hat happens in
my application. I am letting a v8 instance go into a new thread, so that my GUI
app can handle stuff in the front, main thread. Everything works as expected -
but when I am using
https://developers.google.com/v8/design
That should elaborate enough for you.
--
--
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
v8-users group.
To unsubscribe from this
On 26 March 2014 13:35, Kevin Ingwersen ingwie2...@googlemail.com wrote:
I was going to want to use --harmony, due to some weird crasht hat happens in
my application. I am letting a v8 instance go into a new thread, so that my
GUI app can handle stuff in the front, main thread. Everything
Hey.
I am getting somewhat confused currently. So, I have been trying out how to
properly dispose an isolate. But whatever I try, I get an error. If I dispose
the isolate, I get
#
# Fatal error in ../../deps/v8/src/isolate.h, line 456
# CHECK(isolate != __null) failed
#
But if I dont do that,
Thank you, but
I read this one, and many other articles, it is not an answer, i still
don't understand how each byte of memory is spent.
Середа, 26 березня 2014 р. 16:49:02 UTC+4 користувач Gregory Hlavac написав:
https://developers.google.com/v8/design
That should elaborate enough for you.
Okay, may be it is too hard to calculate each bite. But situation that i
explain in file was not explained at all.
It will be great if you will say what exactly differ one class from another
(ClassA and ClassB).
Середа, 26 березня 2014 р. 16:49:02 UTC+4 користувач Gregory Hlavac написав:
You have to be IN an isolate in order to dispose another Isolate.
On Wednesday, March 26, 2014 6:15:42 AM UTC-7, Kevin Ingwersen wrote:
Hey.
I am getting somewhat confused currently. So, I have been trying out how
to properly dispose an isolate. But whatever I try, I get an error. If I
17 matches
Mail list logo