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

Side by Side Diff: src/lithium.h

Issue 10700115: Break Crankshaft into phases. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Clean up dependencies Created 8 years, 5 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 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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 void SkipUninteresting() { 615 void SkipUninteresting() {
616 while (current_iterator_.env() != NULL && current_iterator_.Done()) { 616 while (current_iterator_.env() != NULL && current_iterator_.Done()) {
617 current_iterator_ = ShallowIterator(current_iterator_.env()->outer()); 617 current_iterator_ = ShallowIterator(current_iterator_.env()->outer());
618 } 618 }
619 } 619 }
620 620
621 ShallowIterator current_iterator_; 621 ShallowIterator current_iterator_;
622 }; 622 };
623 623
624 624
625 class Lithium: public AllStatic {
626 public:
627 static LChunk* CreateChunk(HGraph* graph, HGraphBuilder* builder);
danno 2012/07/11 10:04:57 Why not make this a static method on LChunk?
628 static Handle<Code> Codegen(LChunk* chunk);
danno 2012/07/11 10:04:57 Can you make this a method on the chunk?
629 };
630
631
625 int ElementsKindToShiftSize(ElementsKind elements_kind); 632 int ElementsKindToShiftSize(ElementsKind elements_kind);
626 633
627 634
628 } } // namespace v8::internal 635 } } // namespace v8::internal
629 636
630 #endif // V8_LITHIUM_H_ 637 #endif // V8_LITHIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698