Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 673f3bd79549bb53861320dd2328a2f263cae1c5..4f8abf264a4b48bea49a18fca437b80ec89bc241 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -2794,7 +2794,7 @@ Local<Value> v8::Object::Get(uint32_t index) { |
ENTER_V8(isolate); |
i::Handle<i::JSObject> self = Utils::OpenHandle(this); |
EXCEPTION_PREAMBLE(isolate); |
- i::Handle<i::Object> result = i::GetElement(self, index); |
+ i::Handle<i::Object> result = i::Object::GetElement(self, index); |
has_pending_exception = result.is_null(); |
EXCEPTION_BAILOUT_CHECK(isolate, Local<Value>()); |
return Utils::ToLocal(result); |
@@ -3093,13 +3093,10 @@ static Local<Value> GetPropertyByLookup(i::Isolate* isolate, |
// If the property being looked up is a callback, it can throw |
// an exception. |
EXCEPTION_PREAMBLE(isolate); |
- PropertyAttributes attributes; |
- i::Handle<i::Object> result = i::Object::GetProperty(isolate, |
- receiver, |
- receiver, |
- lookup, |
- name, |
- &attributes); |
+ PropertyAttributes ignored; |
+ i::Handle<i::Object> result = |
+ i::Object::GetProperty(receiver, receiver, lookup, name, |
+ &ignored); |
ulan
2011/10/19 08:48:12
I thought we had a convention that we put each arg
|
has_pending_exception = result.is_null(); |
EXCEPTION_BAILOUT_CHECK(isolate, Local<Value>()); |