Revision: 7445 Author: [email protected] Date: Wed Mar 30 08:56:29 2011 Log: Fix unused variable bug in r7444.
BUG= TEST= Review URL: http://codereview.chromium.org/6759033 http://code.google.com/p/v8/source/detail?r=7445 Modified: /branches/bleeding_edge/src/type-info.cc ======================================= --- /branches/bleeding_edge/src/type-info.cc Wed Mar 30 08:31:16 2011 +++ /branches/bleeding_edge/src/type-info.cc Wed Mar 30 08:56:29 2011 @@ -358,6 +358,8 @@ void TypeFeedbackOracle::SetInfo(int position, Object* target) { MaybeObject* maybe_result = dictionary_->AtNumberPut(position, target); Object* result; + USE(maybe_result); + USE(result); // Dictionary has been allocated with sufficient size for all elements. ASSERT(maybe_result->ToObject(&result)); ASSERT(*dictionary_ == result); -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
