Fix GCMole warning.
R=danno@chromium.org Review URL: http://codereview.chromium.org/7508020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8821 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
5f6f4d969d
commit
767debf7fe
@ -666,7 +666,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_WeakMapSet) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user