Make GCMole happy about Runtime_ForInFoo methods.
R=titzer@chromium.org Review URL: https://codereview.chromium.org/436523002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22735 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
932c0a2282
commit
efb9f5eba5
@ -15143,8 +15143,8 @@ RUNTIME_FUNCTION_RETURN_PAIR(Runtime_ForInInit) {
|
||||
// This simulates CONVERT_ARG_HANDLE_CHECKED for calls returning pairs.
|
||||
// Not worth creating a macro atm as this function should be removed.
|
||||
if (!args[0]->IsJSReceiver() || !args[1]->IsObject()) {
|
||||
return MakePair(isolate->ThrowIllegalOperation(),
|
||||
isolate->heap()->undefined_value());
|
||||
Object* error = isolate->ThrowIllegalOperation();
|
||||
return MakePair(error, isolate->heap()->undefined_value());
|
||||
}
|
||||
Handle<JSReceiver> object = args.at<JSReceiver>(0);
|
||||
Handle<Object> cache_type = args.at<Object>(1);
|
||||
@ -15197,8 +15197,8 @@ RUNTIME_FUNCTION_RETURN_PAIR(Runtime_ForInNext) {
|
||||
// Not worth creating a macro atm as this function should be removed.
|
||||
if (!args[0]->IsJSReceiver() || !args[1]->IsFixedArray() ||
|
||||
!args[2]->IsObject() || !args[3]->IsSmi()) {
|
||||
return MakePair(isolate->ThrowIllegalOperation(),
|
||||
isolate->heap()->undefined_value());
|
||||
Object* error = isolate->ThrowIllegalOperation();
|
||||
return MakePair(error, isolate->heap()->undefined_value());
|
||||
}
|
||||
Handle<JSReceiver> object = args.at<JSReceiver>(0);
|
||||
Handle<FixedArray> array = args.at<FixedArray>(1);
|
||||
|
Loading…
Reference in New Issue
Block a user