Status: New
Owner: ----
New issue 314 by diakopter: Adding to prototype of String for snapshot
build gives shell.exe APPCRASH
http://code.google.com/p/v8/issues/detail?id=314
I added a new .js file in the src\ dir, and added a listing for it in the
src\SConscript file.
It works just fine for all but the last line of the below .js
Something about persisting/restoring the snapshot...
btw I'm on vista64.
function StringBuffer() {
this.strings = []
for (var idx = 0; idx < arguments.length; idx++)
this.nextPutAll(arguments[idx])
}
StringBuffer.prototype.nextPutAll = function(s) { this.strings.push(s) }
StringBuffer.prototype.contents = function() { return
this.strings.join("") }
String.prototype.writeStream = function() { return new
StringBuffer(this) }
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---