Commit 7d512038 authored by ishell@chromium.org's avatar ishell@chromium.org

TODO in Dictionary resolved.

R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/251043008

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21076 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent df50d3ea
......@@ -15762,10 +15762,9 @@ Handle<Derived> Dictionary<Derived, Shape, Key>::AtPut(
// Check whether the dictionary should be extended.
dictionary = EnsureCapacity(dictionary, 1, key);
Handle<Object> k = Shape::AsHandle(dictionary->GetIsolate(), key);
// TODO(ishell): Figure out if it is necessary to call AsHandle() here.
USE(k);
#ifdef DEBUG
USE(Shape::AsHandle(dictionary->GetIsolate(), key));
#endif
PropertyDetails details = PropertyDetails(NONE, NORMAL, 0);
AddEntry(dictionary, key, value, details, dictionary->Hash(key));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment