Context-independent script compilation.
authorchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 17 Aug 2009 11:41:00 +0000 (11:41 +0000)
committerchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 17 Aug 2009 11:41:00 +0000 (11:41 +0000)
commit570788b1156ccad67ee8aa64a02495729d06df2c
treea492f1d778be93f5cf51080d09c7f3c1c9dac0a6
parent04a6340227b371c984132c1cb72baf490a5b0499
Context-independent script compilation.
Added Script::New calls that create a new context-independent
(boilerplate) script which can be executed in any context, unlike the
current scripts which bind the context in which they're compiled.

Review URL: http://codereview.chromium.org/172043

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2697 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
src/api.cc
test/cctest/test-api.cc