Re: [v8-users] Help

2018-09-28 Thread dan Med
I'm sorry for my behaviour, probably it is because i think i went in most of the directory but they didn't seem to get me to my answer. Il giorno ven 28 set 2018 alle ore 04:03 Zac Hansen ha scritto: > I'm not sure if you have social interaction problems, but you need to > understand that your b

Re: [v8-users] Help

2018-09-27 Thread Zac Hansen
I'm not sure if you have social interaction problems, but you need to understand that your behavior in this mailing list is not appropriate. People have tried to help you with your questions, but you refuse to listen to what they have to say and seem to feel that you are owed support to your s

Re: [v8-users] Help

2018-09-27 Thread dan Med
yes under the WTF directory Il giorno gio 27 set 2018 alle ore 22:55 J Decker ha scritto: > > > On Thu, Sep 27, 2018 at 10:50 AM dan Med wrote: > >> When v8 calls the arraybufferappend method ? >> > ARRAYBUFFERAPPEND IS NOT DEFINED IN V8 IT IS NEVER CALLED. > > >> >> Il giorno mar 4 set 2018 al

Re: [v8-users] Help

2018-09-27 Thread J Decker
On Thu, Sep 27, 2018 at 10:50 AM dan Med wrote: > When v8 calls the arraybufferappend method ? > ARRAYBUFFERAPPEND IS NOT DEFINED IN V8 IT IS NEVER CALLED. > > Il giorno mar 4 set 2018 alle ore 12:12 Graham Reeves < > gra...@grahamreeves.com> ha scritto: > >> memcpy is this >> memcpy( writable_

Re: [v8-users] Help

2018-09-27 Thread dan Med
When v8 calls the arraybufferappend method ? Il giorno mar 4 set 2018 alle ore 12:12 Graham Reeves < gra...@grahamreeves.com> ha scritto: > memcpy is this > memcpy( writable_destination, const_source, length_in_bytes ) > > if you're unsure what it's doing, expand the arguments so the code is more

Re: [v8-users] Help

2018-09-04 Thread Graham Reeves
memcpy is this memcpy( writable_destination, const_source, length_in_bytes ) if you're unsure what it's doing, expand the arguments so the code is more readable (shame on whoever wrote this :) memcpy(static_cast(buffer_->Data()) + bytes_used_, data,bytes_to_save); ... auto* Destination = static_

Re: [v8-users] Help

2018-09-03 Thread dan Med
Can someone help me out ? Il giorno dom 2 set 2018 alle ore 11:26 ha scritto: > memcpy(static_cast(buffer_->Data()) + bytes_used_, > data,bytes_to_save); > > with this memcpy is it copying from data which is a const char pointer n > bytes_to_save into the array buffer_ or into a specific offset

Re: [v8-users] Help with eval

2018-02-27 Thread Ben Noordhuis
On Tue, Feb 27, 2018 at 5:16 PM, Artem Boldyrev wrote: > I'm debugging the chromium via visual studio and trying to find a place in > the source code where I can access the source string that is passed to eval > (for example, the line 'var p = 1;' via eval ('var p = 1;')) . Where do I > put a brea

Re: [v8-users] Help representing a data structure in JS + how to get length to work for indexed object templates

2016-08-08 Thread Ben Noordhuis
On Mon, Aug 8, 2016 at 3:16 PM, Jack wrote: > Thanks for the tip with the out-of-bounds. > Unofrtunately I can't just create object - I actually tried this first - my > data is a bit more complicated than my simplification here and there is a > lot of it, as well as a lot of nesting so generating

Re: [v8-users] Help representing a data structure in JS + how to get length to work for indexed object templates

2016-08-08 Thread Jack
Thanks for the tip with the out-of-bounds. Unofrtunately I can't just create object - I actually tried this first - my data is a bit more complicated than my simplification here and there is a lot of it, as well as a lot of nesting so generating an object for it each time becomes expensive (and

Re: [v8-users] Help representing a data structure in JS + how to get length to work for indexed object templates

2016-08-08 Thread Ben Noordhuis
On Sat, Aug 6, 2016 at 6:01 PM, Jack wrote: > Hey, > > Currently I have a data structure that is a little something like this in > C++: > Team (class with properties e.g. Name, ID, etc.) > | Members (again has it's own properties, e.g. Name. Team holds a > vector of pointers to Member obje

Re: [v8-users] Help

2016-01-27 Thread Deepak Subramanian
Thanks Ben, It works with the flag. I also figured out the issue. sudo apt-get install gcc-5 does not install g++-5 installing g++-5 (and update-alternatives) solved it .. Best Regards, Deepak On Wednesday, January 27, 2016 at 10:48:07 AM UTC+1, Ben Noordhuis wrote: > > On Wed, Jan 27, 2016 a

Re: [v8-users] Help

2016-01-27 Thread Ben Noordhuis
On Wed, Jan 27, 2016 at 10:10 AM, Deepak Subramanian wrote: > Hi Ben, > > This is the output > > make[1]: Entering directory > `/home/username/Programming/seperateV8_temp/v8/out' > > /home/username/Programming/seperateV8_temp/v8/third_party/llvm-build/Release+Asserts/bin/clang++ > '-DV8_TARGET_ARC

Re: [v8-users] Help

2016-01-27 Thread Deepak Subramanian
Hi Ben, This is the output make[1]: Entering directory `/home/username/Programming/seperateV8_temp/v8/out' /home/username/Programming/seperateV8_temp/v8/third_party/llvm-build/Release+Asserts/bin/clang++ '-DV8_TARGET_ARCH_X64' '-DENABLE_GDB_JIT_INTERFACE' '-DV8_DEPRECATION_WARNINGS' '-DV8_

Re: [v8-users] Help

2016-01-26 Thread Ben Noordhuis
On Tue, Jan 26, 2016 at 7:53 PM, Deepak Subramanian wrote: > Hi, > > I know this query is specific to me but I am breaking my head on what to do. > I updated my gcc and v8 compilation has gone awry on my ubuntu > > In file included from ../src/allocation.cc:5: > In file included from .././src/allo

Re: [v8-users] Help about javaScript debug on v8

2015-11-12 Thread Ben Noordhuis
On Thu, Nov 12, 2015 at 8:40 PM, Jane Chen wrote: > In v8 4.6.88, I can no longer find src/debug-debugger.js, nor > src/{liveedit,mirror}-debugger.js. Does it mean that the function-based API > is also deprecated and removed? Those files live in src/debug now (and without the -debugger suffix) b

Re: [v8-users] Help about javaScript debug on v8

2015-11-12 Thread Jane Chen
Ben, In v8 4.6.88, I can no longer find src/debug-debugger.js, nor src/{liveedit,mirror}-debugger.js. Does it mean that the function-based API is also deprecated and removed? Jane On Saturday, March 14, 2015 at 3:53:55 AM UTC-7, Ben Noordhuis wrote: > > On Sat, Mar 14, 2015 at 8:30 AM, Deguo

Re: [v8-users] Help building v8 from source without network communication

2015-05-29 Thread Jakob Kummerow
To clarify: - building V8 never requires internet access - getting the V8 source and build dependencies always requires internet access (how else would you download anything?) - GYP is not part of depot_tools - GYP is always required for building V8 - GYP does not require internet access - there's

Re: [v8-users] Help building v8 from source without network communication

2015-05-29 Thread Ben Noordhuis
On Fri, May 29, 2015 at 12:01 AM, Tim Galvin wrote: > Hello, > > I'm having trouble figuring out a way to install v8 on a machine in a > fashion that wouldn't require any connection to the network. I'd like to > essentially scp a tarball of some sort to a host, and then (aside from using > ssh to

Re: [v8-users] Help about javaScript debug on v8

2015-03-14 Thread Deguo Meng
HI , Thanks for your reply. I will read the code . Best Regards 2015-03-14 18:53 GMT+08:00 Ben Noordhuis : > On Sat, Mar 14, 2015 at 8:30 AM, Deguo Meng wrote: > > HI all , > > Page https://code.google.com/p/v8-wiki/wiki/DebuggerProtocol > shows > > the JSON based debug protocol.

Re: [v8-users] Help about javaScript debug on v8

2015-03-14 Thread Ben Noordhuis
On Sat, Mar 14, 2015 at 8:30 AM, Deguo Meng wrote: > HI all , > Page https://code.google.com/p/v8-wiki/wiki/DebuggerProtocol shows > the JSON based debug protocol. But it also reads that there's another > function based API using JavaScript objects, Is there any materials > introduce the

Re: [v8-users] Help about v8 inline cache

2014-11-26 Thread Ben Noordhuis
On Wed, Nov 26, 2014 at 2:11 PM, Deguo Meng wrote: > Hello , > Could anybody help me to explain the difference between > "Uninitialized" state & "Pre-monomorphic" state. I get a description as > following : > " > > Uninitialized: this is a generic stub. > > We're in this state when we've n

Re: [v8-users] Help with setting local js variable to Null()

2013-01-21 Thread ioannis
Thank you for the reply. Basically what I want to achieve is the following. Consider this js example After my ReleaseObject() function is called x = is still a "point" object At the second print(x) i would like my variable to be null, or report as null without explicitly setting it to null with "

Re: [v8-users] Help with setting local js variable to Null()

2013-01-21 Thread Stephan Beal
On Mon, Jan 21, 2013 at 1:53 PM, ioannis wrote: > // (2) If args[0] is a global object then remove the object form > global scope > Local global = self->CreationContext()->Global(); > This part is not necessary. You already do: > // (3) Delete the c++ object and call its dest

Re: [v8-users] help, what these words mean?

2013-01-17 Thread penglei
Thank you! My english is not very well. I seemed to have misunderstood. 发自我的 iPhone 在 2013-1-18,0:36,Jakob Kummerow 写道: > I'm not sure I understand the question. When many objects are created, and > for every object a handle is created too, you'll have many handles. If there > is something m

Re: [v8-users] help, what these words mean?

2013-01-17 Thread Jakob Kummerow
I'm not sure I understand the question. When many objects are created, and for every object a handle is created too, you'll have many handles. If there is something more specific that you're not understanding, please clarify. On Thu, Jan 17, 2013 at 5:11 PM, soulfree wrote: > In the Embedder's

Re: [v8-users] help to debug v8 slow down

2012-04-11 Thread Paul Lind
Hi Levent - v8 at r10875 doesn't even build for me, so I cannot explain your 'slowdown'. That rev on trunk is version 3.9.13. If you move to 3.9.14 (r10894), which was pushed just 24 hours later, the mips port will build and run fine, and I verified that the performance is normal (running v8

Re: [v8-users] help w/ install

2010-10-27 Thread Paul Lind
Hi Hank - It appears that scons is defaulting to build IA32 arch, and is compiling using flag '-m32'. But you likely do not have the 32-bit compatibility libraries installed, so the link step fails. The easiest thing to do is tell scons to build x64 architecture: scons arch=x64 sample