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

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

Issue 20843012: Extract hardcoded error strings into a single place and replace them with enum. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: styles fixed Created 7 years, 4 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 2624 matching lines...) Expand 10 before | Expand all | Expand 10 after
2635 LPlatformChunk* chunk() const { return chunk_; } 2635 LPlatformChunk* chunk() const { return chunk_; }
2636 CompilationInfo* info() const { return info_; } 2636 CompilationInfo* info() const { return info_; }
2637 HGraph* graph() const { return graph_; } 2637 HGraph* graph() const { return graph_; }
2638 Zone* zone() const { return zone_; } 2638 Zone* zone() const { return zone_; }
2639 2639
2640 bool is_unused() const { return status_ == UNUSED; } 2640 bool is_unused() const { return status_ == UNUSED; }
2641 bool is_building() const { return status_ == BUILDING; } 2641 bool is_building() const { return status_ == BUILDING; }
2642 bool is_done() const { return status_ == DONE; } 2642 bool is_done() const { return status_ == DONE; }
2643 bool is_aborted() const { return status_ == ABORTED; } 2643 bool is_aborted() const { return status_ == ABORTED; }
2644 2644
2645 void Abort(const char* reason); 2645 void Abort(BailoutReason reason);
2646 2646
2647 // Methods for getting operands for Use / Define / Temp. 2647 // Methods for getting operands for Use / Define / Temp.
2648 LUnallocated* ToUnallocated(Register reg); 2648 LUnallocated* ToUnallocated(Register reg);
2649 LUnallocated* ToUnallocated(DoubleRegister reg); 2649 LUnallocated* ToUnallocated(DoubleRegister reg);
2650 2650
2651 // Methods for setting up define-use relationships. 2651 // Methods for setting up define-use relationships.
2652 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); 2652 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand);
2653 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); 2653 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register);
2654 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, 2654 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value,
2655 DoubleRegister fixed_register); 2655 DoubleRegister fixed_register);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
2752 2752
2753 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2753 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2754 }; 2754 };
2755 2755
2756 #undef DECLARE_HYDROGEN_ACCESSOR 2756 #undef DECLARE_HYDROGEN_ACCESSOR
2757 #undef DECLARE_CONCRETE_INSTRUCTION 2757 #undef DECLARE_CONCRETE_INSTRUCTION
2758 2758
2759 } } // namespace v8::internal 2759 } } // namespace v8::internal
2760 2760
2761 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2761 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698