Add two more invocations of ENTER_V8 to places where we need to write

to V8's heap.
Review URL: http://codereview.chromium.org/60089

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1674 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 2c5ce418
......@@ -1908,6 +1908,7 @@ bool v8::Object::Delete(v8::Handle<String> key) {
bool v8::Object::Has(v8::Handle<String> key) {
ON_BAILOUT("v8::Object::Has()", return false);
ENTER_V8;
i::Handle<i::JSObject> self = Utils::OpenHandle(this);
i::Handle<i::String> key_obj = Utils::OpenHandle(*key);
return self->HasProperty(*key_obj);
......@@ -1945,6 +1946,7 @@ bool v8::Object::HasRealIndexedProperty(uint32_t index) {
bool v8::Object::HasRealNamedCallbackProperty(Handle<String> key) {
ON_BAILOUT("v8::Object::HasRealNamedCallbackProperty()", return false);
ENTER_V8;
return Utils::OpenHandle(this)->HasRealNamedCallbackProperty(
*Utils::OpenHandle(*key));
}
......
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