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

Side by Side Diff: src/lithium.h

Issue 10868106: Print reason for disabling optimization. Kill --trace-bailout flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Simplified Created 8 years, 3 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 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 636
637 637
638 class LPlatformChunk; 638 class LPlatformChunk;
639 class LGap; 639 class LGap;
640 class LLabel; 640 class LLabel;
641 641
642 // Superclass providing data and behavior common to all the 642 // Superclass providing data and behavior common to all the
643 // arch-specific LPlatformChunk classes. 643 // arch-specific LPlatformChunk classes.
644 class LChunk: public ZoneObject { 644 class LChunk: public ZoneObject {
645 public: 645 public:
646 static LChunk* NewChunk(HGraph* graph); 646 static LChunk* NewChunk(HGraph* graph, CompilationInfo* info);
647 647
648 void AddInstruction(LInstruction* instruction, HBasicBlock* block); 648 void AddInstruction(LInstruction* instruction, HBasicBlock* block);
649 LConstantOperand* DefineConstantOperand(HConstant* constant); 649 LConstantOperand* DefineConstantOperand(HConstant* constant);
650 HConstant* LookupConstant(LConstantOperand* operand) const; 650 HConstant* LookupConstant(LConstantOperand* operand) const;
651 Representation LookupLiteralRepresentation(LConstantOperand* operand) const; 651 Representation LookupLiteralRepresentation(LConstantOperand* operand) const;
652 652
653 int ParameterAt(int index); 653 int ParameterAt(int index);
654 int GetParameterStackSlot(int index) const; 654 int GetParameterStackSlot(int index) const;
655 int spill_slot_count() const { return spill_slot_count_; } 655 int spill_slot_count() const { return spill_slot_count_; }
656 CompilationInfo* info() const { return info_; } 656 CompilationInfo* info() const { return info_; }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 ZoneList<Handle<JSFunction> > inlined_closures_; 697 ZoneList<Handle<JSFunction> > inlined_closures_;
698 }; 698 };
699 699
700 700
701 int ElementsKindToShiftSize(ElementsKind elements_kind); 701 int ElementsKindToShiftSize(ElementsKind elements_kind);
702 702
703 703
704 } } // namespace v8::internal 704 } } // namespace v8::internal
705 705
706 #endif // V8_LITHIUM_H_ 706 #endif // V8_LITHIUM_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/lithium.cc » ('j') | src/lithium.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698