diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-03-31 15:13:37 +0200 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-04-02 00:05:25 +0400 |
commit | c7214fe355596543d92d7c10b38d78ca65b4abfe (patch) | |
tree | 185d2795e28bc92d2f0f1fbb45799012ec578ca7 /src/node.cc | |
parent | 5e24adbb90d085e6ac0e37ad6f016b1c94ce01d6 (diff) | |
download | node-new-c7214fe355596543d92d7c10b38d78ca65b4abfe.tar.gz |
src: fix up after v8 upgrade
The two biggest changes are that v8::Script::New() has been removed and
that a v8::Script object now has to be explicitly bound to a context if
you want to run it from another context.
We can accommodate both changes without breaking the vm module's public
API or even the internal JS API.
Diffstat (limited to 'src/node.cc')
-rw-r--r-- | src/node.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.cc b/src/node.cc index 65de300159..31c77c0b3b 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1491,7 +1491,7 @@ static void ReportException(Environment* env, const TryCatch& try_catch) { // Executes a str within the current v8 context. static Local<Value> ExecuteString(Environment* env, Handle<String> source, - Handle<Value> filename) { + Handle<String> filename) { EscapableHandleScope scope(env->isolate()); TryCatch try_catch; |