Revision: 7446
Author:   [email protected]
Date:     Wed Mar 30 09:04:37 2011
Log:      Fix the bug in the bug fix.

BUG=
TEST=

Review URL: http://codereview.chromium.org/6731089
http://code.google.com/p/v8/source/detail?r=7446

Modified:
 /branches/bleeding_edge/src/type-info.cc

=======================================
--- /branches/bleeding_edge/src/type-info.cc    Wed Mar 30 08:56:29 2011
+++ /branches/bleeding_edge/src/type-info.cc    Wed Mar 30 09:04:37 2011
@@ -357,12 +357,13 @@

 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
 }


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to