Commit e589ae22 authored by dcarney@chromium.org's avatar dcarney@chromium.org

remove a bunch of isolate::current in api.cc

R=svenpanne@chromium.org

BUG=

Review URL: https://codereview.chromium.org/686053003

Cr-Commit-Position: refs/heads/master@{#25011}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25011 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent ee9de330
......@@ -5505,8 +5505,16 @@ class V8_EXPORT TryCatch {
* all TryCatch blocks should be stack allocated because the memory
* location itself is compared against JavaScript try/catch blocks.
*/
// TODO(dcarney): deprecate.
TryCatch();
/**
* Creates a new try/catch block and registers it with v8. Note that
* all TryCatch blocks should be stack allocated because the memory
* location itself is compared against JavaScript try/catch blocks.
*/
TryCatch(Isolate* isolate);
/**
* Unregisters and deletes this try/catch block.
*/
......
This diff is collapsed.
......@@ -54,7 +54,8 @@ class NeanderArray {
return obj_.value();
}
void add(v8::internal::Handle<v8::internal::Object> value);
void add(internal::Isolate* isolate,
v8::internal::Handle<v8::internal::Object> value);
int length();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment