Revision: 5130
Author: [email protected]
Date: Fri Jul 23 05:48:36 2010
Log: Backport http://code.google.com/p/v8/source/detail?r=5120 to 2.2.
Review URL: http://codereview.chromium.org/2861077
http://code.google.com/p/v8/source/detail?r=5130
Modified:
/branches/2.2/src/objects.cc
/branches/2.2/src/version.cc
=======================================
--- /branches/2.2/src/objects.cc Tue Jul 13 13:58:03 2010
+++ /branches/2.2/src/objects.cc Fri Jul 23 05:48:36 2010
@@ -2966,7 +2966,8 @@
break;
}
- SetElementCallback(index, info, info->property_attributes());
+ Object* ok = SetElementCallback(index, info,
info->property_attributes());
+ if (ok->IsFailure()) return ok;
} else {
// Lookup the name.
LookupResult result;
@@ -2976,7 +2977,8 @@
if (result.IsProperty() && (result.IsReadOnly() ||
result.IsDontDelete())) {
return Heap::undefined_value();
}
- SetPropertyCallback(name, info, info->property_attributes());
+ Object* ok = SetPropertyCallback(name, info,
info->property_attributes());
+ if (ok->IsFailure()) return ok;
}
return this;
=======================================
--- /branches/2.2/src/version.cc Thu Jul 15 02:58:47 2010
+++ /branches/2.2/src/version.cc Fri Jul 23 05:48:36 2010
@@ -35,7 +35,7 @@
#define MAJOR_VERSION 2
#define MINOR_VERSION 2
#define BUILD_NUMBER 24
-#define PATCH_LEVEL 3
+#define PATCH_LEVEL 4
#define CANDIDATE_VERSION false
// Define SONAME to have the SCons build the put a specific SONAME into the
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev