Revision: 22735
Author:   [email protected]
Date:     Thu Jul 31 08:29:34 2014 UTC
Log:      Make GCMole happy about Runtime_ForInFoo methods.

[email protected]

Review URL: https://codereview.chromium.org/436523002
http://code.google.com/p/v8/source/detail?r=22735

Modified:
 /branches/bleeding_edge/src/runtime.cc

=======================================
--- /branches/bleeding_edge/src/runtime.cc      Wed Jul 30 13:54:45 2014 UTC
+++ /branches/bleeding_edge/src/runtime.cc      Thu Jul 31 08:29:34 2014 UTC
@@ -15143,8 +15143,8 @@
   // 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 @@
   // 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);

--
--
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.

Reply via email to