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

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

Issue 157503002: A64: Synchronize with r18444. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/libplatform/worker-thread.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1364 while (!iterator.Done()) { 1364 while (!iterator.Done()) {
1365 found = true; 1365 found = true;
1366 int operand_index = iterator.Current(); 1366 int operand_index = iterator.Current();
1367 if (chunk_->info()->IsStub()) { 1367 if (chunk_->info()->IsStub()) {
1368 CodeStub::Major major_key = chunk_->info()->code_stub()->MajorKey(); 1368 CodeStub::Major major_key = chunk_->info()->code_stub()->MajorKey();
1369 PrintF("Function: %s\n", CodeStub::MajorName(major_key, false)); 1369 PrintF("Function: %s\n", CodeStub::MajorName(major_key, false));
1370 } else { 1370 } else {
1371 ASSERT(chunk_->info()->IsOptimizing()); 1371 ASSERT(chunk_->info()->IsOptimizing());
1372 AllowHandleDereference allow_deref; 1372 AllowHandleDereference allow_deref;
1373 PrintF("Function: %s\n", 1373 PrintF("Function: %s\n",
1374 *chunk_->info()->function()->debug_name()->ToCString()); 1374 chunk_->info()->function()->debug_name()->ToCString().get());
1375 } 1375 }
1376 PrintF("Value %d used before first definition!\n", operand_index); 1376 PrintF("Value %d used before first definition!\n", operand_index);
1377 LiveRange* range = LiveRangeFor(operand_index); 1377 LiveRange* range = LiveRangeFor(operand_index);
1378 PrintF("First use is at %d\n", range->first_pos()->pos().Value()); 1378 PrintF("First use is at %d\n", range->first_pos()->pos().Value());
1379 iterator.Advance(); 1379 iterator.Advance();
1380 } 1380 }
1381 ASSERT(!found); 1381 ASSERT(!found);
1382 } 1382 }
1383 #endif 1383 #endif
1384 } 1384 }
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
2212 isolate()->GetHTracer()->TraceLiveRanges(name(), allocator_); 2212 isolate()->GetHTracer()->TraceLiveRanges(name(), allocator_);
2213 } 2213 }
2214 2214
2215 #ifdef DEBUG 2215 #ifdef DEBUG
2216 if (allocator_ != NULL) allocator_->Verify(); 2216 if (allocator_ != NULL) allocator_->Verify();
2217 #endif 2217 #endif
2218 } 2218 }
2219 2219
2220 2220
2221 } } // namespace v8::internal 2221 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/libplatform/worker-thread.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698