Revision: 8821
Author: [email protected]
Date: Wed Aug 3 08:42:25 2011
Log: Fix GCMole warning.
[email protected]
Review URL: http://codereview.chromium.org/7508020
http://code.google.com/p/v8/source/detail?r=8821
Modified:
/branches/bleeding_edge/src/runtime.cc
=======================================
--- /branches/bleeding_edge/src/runtime.cc Wed Aug 3 05:48:30 2011
+++ /branches/bleeding_edge/src/runtime.cc Wed Aug 3 08:42:25 2011
@@ -666,7 +666,8 @@
CONVERT_ARG_CHECKED(JSObject, key, 1);
Handle<Object> value(args[2]);
Handle<ObjectHashTable> table(weakmap->table());
- weakmap->set_table(*PutIntoObjectHashTable(table, key, value));
+ Handle<ObjectHashTable> new_table = PutIntoObjectHashTable(table, key,
value);
+ weakmap->set_table(*new_table);
return *value;
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev