Revision: 21809
Author: [email protected]
Date: Thu Jun 12 13:25:03 2014 UTC
Log: build fix after r21807
[email protected]
BUG=
Review URL: https://codereview.chromium.org/333503005
http://code.google.com/p/v8/source/detail?r=21809
Modified:
/branches/bleeding_edge/src/api.cc
=======================================
--- /branches/bleeding_edge/src/api.cc Thu Jun 12 12:01:01 2014 UTC
+++ /branches/bleeding_edge/src/api.cc Thu Jun 12 13:25:03 2014 UTC
@@ -1616,12 +1616,11 @@
Local<Value> Script::Run() {
- i::Handle<i::HeapObject> obj =
- i::Handle<i::HeapObject>::cast(Utils::OpenHandle(this, true));
+ i::Handle<i::Object> obj = Utils::OpenHandle(this, true);
// If execution is terminating, Compile(..)->Run() requires this
// check.
if (obj.is_null()) return Local<Value>();
- i::Isolate* isolate = obj->GetIsolate();
+ i::Isolate* isolate = i::Handle<i::HeapObject>::cast(obj)->GetIsolate();
ON_BAILOUT(isolate, "v8::Script::Run()", return Local<Value>());
LOG_API(isolate, "Script::Run");
ENTER_V8(isolate);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.