Comment #6 on issue 2338 by [email protected]: V8 engine embedded in a DLL doesn't work when using the V8/javascript debug system
http://code.google.com/p/v8/issues/detail?id=2338

=)

Yeah, here I configured the FPU Control Word the way the V8 needs before calling V8 library.

But, I did a lot of debugging to discover this. This is why I am suggesting that V8 should have an ASSERT to check this, throwing an exception/aborting and telling that the FPU Control Word is not what it expects to be.

This could help if someone is having the same "problem" that I had. This would help even in C++ programs compiled not allowing the division by zero (ms visual c++ compiler has the "/fp:except" param. This makes the behaviour of the program the same as the default behaviour of Delphi, disallowing division by zero)

Just an precaution.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to