Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: src/lithium-allocator.cc

Issue 6624085: [Isolates] Merge 7051:7083 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ic.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1262 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 } 1273 }
1274 1274
1275 #ifdef DEBUG 1275 #ifdef DEBUG
1276 if (block_id == 0) { 1276 if (block_id == 0) {
1277 BitVector::Iterator iterator(live); 1277 BitVector::Iterator iterator(live);
1278 bool found = false; 1278 bool found = false;
1279 while (!iterator.Done()) { 1279 while (!iterator.Done()) {
1280 found = true; 1280 found = true;
1281 int operand_index = iterator.Current(); 1281 int operand_index = iterator.Current();
1282 PrintF("Function: %s\n", 1282 PrintF("Function: %s\n",
1283 *graph_->info()->function()->debug_name()->ToCString()); 1283 *chunk_->info()->function()->debug_name()->ToCString());
1284 PrintF("Value %d used before first definition!\n", operand_index); 1284 PrintF("Value %d used before first definition!\n", operand_index);
1285 LiveRange* range = LiveRangeFor(operand_index); 1285 LiveRange* range = LiveRangeFor(operand_index);
1286 PrintF("First use is at %d\n", range->first_pos()->pos().Value()); 1286 PrintF("First use is at %d\n", range->first_pos()->pos().Value());
1287 iterator.Advance(); 1287 iterator.Advance();
1288 } 1288 }
1289 ASSERT(!found); 1289 ASSERT(!found);
1290 } 1290 }
1291 #endif 1291 #endif
1292 } 1292 }
1293 } 1293 }
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
2081 LiveRange* current = live_ranges()->at(i); 2081 LiveRange* current = live_ranges()->at(i);
2082 if (current != NULL) current->Verify(); 2082 if (current != NULL) current->Verify();
2083 } 2083 }
2084 } 2084 }
2085 2085
2086 2086
2087 #endif 2087 #endif
2088 2088
2089 2089
2090 } } // namespace v8::internal 2090 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698