Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index b24a4cd1d8b541bb95561e2f684122ccbc9be456..3de4f5d9f92f6037a16384df316caf1c1a03558d 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -252,15 +252,32 @@ Handle<Object> ForceSetProperty(Handle<JSObject> object, |
} |
+Handle<Object> DeleteProperty(Handle<JSObject> object, Handle<Object> key) { |
+ Isolate* isolate = object->GetIsolate(); |
+ CALL_HEAP_FUNCTION(isolate, |
+ Runtime::DeleteObjectProperty( |
+ isolate, object, key, JSReceiver::NORMAL_DELETION), |
+ Object); |
+} |
+ |
+ |
Handle<Object> ForceDeleteProperty(Handle<JSObject> object, |
Handle<Object> key) { |
Isolate* isolate = object->GetIsolate(); |
CALL_HEAP_FUNCTION(isolate, |
- Runtime::ForceDeleteObjectProperty(isolate, object, key), |
+ Runtime::DeleteObjectProperty( |
+ isolate, object, key, JSReceiver::FORCE_DELETION), |
Object); |
} |
+Handle<Object> HasProperty(Handle<JSReceiver> obj, Handle<Object> key) { |
+ Isolate* isolate = obj->GetIsolate(); |
+ CALL_HEAP_FUNCTION(isolate, |
+ Runtime::HasObjectProperty(isolate, obj, key), Object); |
+} |
+ |
+ |
Handle<Object> GetProperty(Handle<JSReceiver> obj, |
const char* name) { |
Isolate* isolate = obj->GetIsolate(); |