Hi. I guess I explained too much :)
Let me make the query simple.
I want to add a boolean value in class Object. bool secret = true;
To do this, what are the other related things I must change ? It seems that
doing this crashes the application when I change the value.
Thanks.
--
--
I would also like to know how to force run all JS tests. (Just to check I
have not broken something)
On Wednesday, June 3, 2015 at 2:04:24 PM UTC+2, Deepak Subramanian wrote:
I had tried to do thid from the RuntimeReference_SetValueOf at
runtime-objects but since it appears to be a
On Wed, Jun 3, 2015 at 11:44 AM, Deepak Subramanian subudee...@gmail.com
wrote:
1. I meant now that it a boxed value, I have no reason to add more
statements in the GC, right ?. [Atleast from my understanding of the GC]
Yes, the GC should need no changes if the new field is boxed.
2. Cool.
Let me explain in greater detail on the goal then..
I want to have 2 values for every object and be able to determine which of
the two values to use at runtime.
JSValue might not be what I want then (if it so rarely used). Lets say
there is a variable var a. I want it to have it to have
Hi,
I think I solved it for the most part thanks to you. However I am still
stuck on a few things :)
1. I did solve it using the built-ins.x64.cc - so I had to initialize the
memory space. I did do that now. I just added a new line with the memory
offset of the new variable in the blocked
On Wed, Jun 3, 2015 at 10:57 AM, Deepak Subramanian subudee...@gmail.com
wrote:
1. [...] Now that it a boxed value, I have no reason to print it, right ?.
I don't understand that question, could you elaborate?
2. ACCESSORS_SPECIAL is currently the same as ACCESSORS with some print
Thanks for the rapid response Sven.
The first question is actually mistyped :)
1. I meant now that it a boxed value, I have no reason to add more
statements in the GC, right ?. [Atleast from my understanding of the GC]
2. Cool. Let me make my query simple then. Everytime, the JSValue's value
I had tried to do thid from the RuntimeReference_SetValueOf at
runtime-objects but since it appears to be a reference implementation, I
tried to follow ..
Even modifying these runtimes should suffice for my context but the runtime
functions seem to be executed only initially. I have disabled
On Thu, May 28, 2015 at 3:52 PM, Deepak Subramanian subudee...@gmail.com
wrote:
[...]
ACCESSORS_SPECIAL(JSValue ...) //instead of accessors
What is ACCESSORS_SPECIAL?
//Changed the builtins-x64.cc to correct the STATIC_ASSERT(JSValue::kSize
== 4* kPointerSize) to
Hi. I have more queries following up :) Many thanks for all your help in
advance
I added another variable to JSValue..
// Layout description. Objects.h
static const int kValueOffset = JSObject::kHeaderSize;
static const int kSecretValueOffset = kValueOffset + kPointerSize;
//NEWLINE
I should make it more clear. The error comes just after the step LINK
mksnapshot.
Second, I am not sure if this is something to do with harmony but since I
was printing a lot of stuff, the last slow property to be added was
harmony_unicode.
The error itself just happens.
When I rerun
On Mon, May 25, 2015 at 5:08 PM, Deepak Subramanian subudee...@gmail.com
wrote:
[...] But I am not able to find the implementation of either value() or
set_value(). Am I missing something trivial here ?
The magic is in src/objects-inl.h, of course again behind a macro: :-}
Should've guesses. The macro maze that is v8 :)
Is there a ninja to just expand all macros ?
On Tuesday, May 26, 2015 at 10:01:16 AM UTC+2, Sven Panne wrote:
On Mon, May 25, 2015 at 5:08 PM, Deepak Subramanian subud...@gmail.com
javascript: wrote:
[...] But I am not able to find the
Hi,
I would like to know where I can re-implement the JSValue's value method.
I see the declaration as part of the objects.h file
at DECL_ACCESSORS(value, Object)
where the macro is
#define DECL_ACCESSORS(name, type) \
inline type* name() const;
Thanks again Jakob,
Depending on what you're changing (you didn't say), that might not do
what you expect, though. Crankshaft is also used internally to generate
stubs, and there's no way to turn that off as there is no alternative to
it. (So it's possible to break crankshaft in such a way
Thanks a lot. These have been most helpful.
I would like to know how to disable crankshaft. (I do not want
optimizations at this phase and feel full-codegen is sufficient for my
needs at the moment) I just changed isolate.cc's use_crankshaft() to return
false at all times. Is this the right
On Wed, Mar 18, 2015 at 10:44 AM, Deepak Subramanian subudee...@gmail.com
wrote:
Thanks a lot. These have been most helpful.
I would like to know how to disable crankshaft. (I do not want
optimizations at this phase and feel full-codegen is sufficient for my
needs at the moment) I just
On Fri, Feb 27, 2015 at 6:56 PM, Deepak Subramanian subudee...@gmail.com
wrote:
I am relatively new to v8. Please note, I would like this to run in
un-modified d8 while modifying v8 only. Thanks.
On Friday, February 27, 2015 at 6:52:18 PM UTC+1, Deepak Subramanian wrote:
Query 1:
The
I am relatively new to v8. Please note, I would like this to run in
un-modified d8 while modifying v8 only. Thanks.
On Friday, February 27, 2015 at 6:52:18 PM UTC+1, Deepak Subramanian wrote:
Query 1:
The v8natives.js seem to have a references to various functions created by
the macros in
19 matches
Mail list logo