Hello, I am doing some work in compiler.cc, I have modified the code that needs to be compile by creating a new char* variable that contains the changed code.
I am having problems compiling the new code instead of the old one, this is what I tried: I am currently trying to create a new Handle<String> that contains the original piece of code (so the problem isn't how I change the code), I'm doing this with the code: Handle<String> testing = isolate->factory()->NewStringFromAscii(CStrVector(JSCodeAsCharArray)); I am working with V8 as part of chromium, and when I recompiled chromium with the modified compiler.cc file it compiled without problems, but when I entered chromium I got an error on every page (including the new tab window). Can someone please help me out ? I failed to understand how to take the JS code in the form of char* and create the Handle<String> that contains this code. Any help is greatly appreciated! Regards, Belgi -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
