Chromium Code Reviews

Unified Diff: src/type-info.cc

Issue 6759033: Fix unused variable bug in r7444. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/type-info.cc
diff --git a/src/type-info.cc b/src/type-info.cc
index d73c618de9a3e2da12d4ad1fcf28dc6cceb6d293..4fd38fa45253098e4fa68d0c1450fdb4c286cc90 100644
--- a/src/type-info.cc
+++ b/src/type-info.cc
@@ -358,6 +358,8 @@ 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);
// Dictionary has been allocated with sufficient size for all elements.
ASSERT(maybe_result->ToObject(&result));
ASSERT(*dictionary_ == result);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine