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

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

Issue 16381006: Change PC for OSR entries to point to something more sensible (i.e. the first UnknownOsrValue), rem… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add --always-osr flag. Created 7 years, 6 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/lithium.h ('k') | src/lithium-allocator.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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 467
468 private: 468 private:
469 void MeetRegisterConstraints(); 469 void MeetRegisterConstraints();
470 void ResolvePhis(); 470 void ResolvePhis();
471 void BuildLiveRanges(); 471 void BuildLiveRanges();
472 void AllocateGeneralRegisters(); 472 void AllocateGeneralRegisters();
473 void AllocateDoubleRegisters(); 473 void AllocateDoubleRegisters();
474 void ConnectRanges(); 474 void ConnectRanges();
475 void ResolveControlFlow(); 475 void ResolveControlFlow();
476 void PopulatePointerMaps(); 476 void PopulatePointerMaps();
477 void ProcessOsrEntry();
478 void AllocateRegisters(); 477 void AllocateRegisters();
479 bool CanEagerlyResolveControlFlow(HBasicBlock* block) const; 478 bool CanEagerlyResolveControlFlow(HBasicBlock* block) const;
480 inline bool SafePointsAreInOrder() const; 479 inline bool SafePointsAreInOrder() const;
481 480
482 // Liveness analysis support. 481 // Liveness analysis support.
483 void InitializeLivenessAnalysis(); 482 void InitializeLivenessAnalysis();
484 BitVector* ComputeLiveOut(HBasicBlock* block); 483 BitVector* ComputeLiveOut(HBasicBlock* block);
485 void AddInitialIntervals(HBasicBlock* block, BitVector* live_out); 484 void AddInitialIntervals(HBasicBlock* block, BitVector* live_out);
486 void ProcessInstructions(HBasicBlock* block, BitVector* live); 485 void ProcessInstructions(HBasicBlock* block, BitVector* live);
487 void MeetRegisterConstraints(HBasicBlock* block); 486 void MeetRegisterConstraints(HBasicBlock* block);
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 private: 655 private:
657 LAllocator* allocator_; 656 LAllocator* allocator_;
658 657
659 DISALLOW_COPY_AND_ASSIGN(LAllocatorPhase); 658 DISALLOW_COPY_AND_ASSIGN(LAllocatorPhase);
660 }; 659 };
661 660
662 661
663 } } // namespace v8::internal 662 } } // namespace v8::internal
664 663
665 #endif // V8_LITHIUM_ALLOCATOR_H_ 664 #endif // V8_LITHIUM_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « src/lithium.h ('k') | src/lithium-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698