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

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

Issue 6880010: Merge (7265, 7271] from bleeding_edge to experimental/gc branch.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 8 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
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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 } 423 }
424 424
425 BitVector* bits_; 425 BitVector* bits_;
426 }; 426 };
427 427
428 428
429 class LAllocator BASE_EMBEDDED { 429 class LAllocator BASE_EMBEDDED {
430 public: 430 public:
431 LAllocator(int first_virtual_register, HGraph* graph); 431 LAllocator(int first_virtual_register, HGraph* graph);
432 432
433 static void Setup();
434 static void TraceAlloc(const char* msg, ...); 433 static void TraceAlloc(const char* msg, ...);
435 434
436 // Lithium translation support. 435 // Lithium translation support.
437 // Record a use of an input operand in the current instruction. 436 // Record a use of an input operand in the current instruction.
438 void RecordUse(HValue* value, LUnallocated* operand); 437 void RecordUse(HValue* value, LUnallocated* operand);
439 // Record the definition of the output operand. 438 // Record the definition of the output operand.
440 void RecordDefinition(HInstruction* instr, LUnallocated* operand); 439 void RecordDefinition(HInstruction* instr, LUnallocated* operand);
441 // Record a temporary operand. 440 // Record a temporary operand.
442 void RecordTemporary(LUnallocated* operand); 441 void RecordTemporary(LUnallocated* operand);
443 442
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 621
623 bool has_osr_entry_; 622 bool has_osr_entry_;
624 623
625 DISALLOW_COPY_AND_ASSIGN(LAllocator); 624 DISALLOW_COPY_AND_ASSIGN(LAllocator);
626 }; 625 };
627 626
628 627
629 } } // namespace v8::internal 628 } } // namespace v8::internal
630 629
631 #endif // V8_LITHIUM_ALLOCATOR_H_ 630 #endif // V8_LITHIUM_ALLOCATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698