Reviewers: Michael Starzinger,
Message:
Committed patchset #1 manually as r21809 (tree was closed).
Description:
build fix after r21807
[email protected]
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=21809
Please review this at https://codereview.chromium.org/333503005/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -3 lines):
M src/api.cc
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index
2a86a048cf080322b4661c3b0cbb944944ff0cc5..c1ee927bbbe07d055fd69b883ab8128af64df1c3
100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -1616,12 +1616,11 @@ Handle<Value> UnboundScript::GetScriptName() {
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.