Fix the bug in the bug fix.
BUG= TEST= Review URL: http://codereview.chromium.org/6731089 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7446 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
a910a50d1e
commit
1358772e3b
@ -357,12 +357,13 @@ ZoneMapList* TypeFeedbackOracle::CollectReceiverTypes(int position,
|
||||
|
||||
void TypeFeedbackOracle::SetInfo(int position, Object* target) {
|
||||
MaybeObject* maybe_result = dictionary_->AtNumberPut(position, target);
|
||||
Object* result;
|
||||
USE(maybe_result);
|
||||
USE(result);
|
||||
#ifdef DEBUG
|
||||
Object* result;
|
||||
// Dictionary has been allocated with sufficient size for all elements.
|
||||
ASSERT(maybe_result->ToObject(&result));
|
||||
ASSERT(*dictionary_ == result);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user