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

Side by Side Diff: src/arm/lithium-arm.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 2652 matching lines...) Expand 10 before | Expand all | Expand 10 after
2663 LPlatformChunk* chunk() const { return chunk_; } 2663 LPlatformChunk* chunk() const { return chunk_; }
2664 CompilationInfo* info() const { return info_; } 2664 CompilationInfo* info() const { return info_; }
2665 HGraph* graph() const { return graph_; } 2665 HGraph* graph() const { return graph_; }
2666 Zone* zone() const { return zone_; } 2666 Zone* zone() const { return zone_; }
2667 2667
2668 bool is_unused() const { return status_ == UNUSED; } 2668 bool is_unused() const { return status_ == UNUSED; }
2669 bool is_building() const { return status_ == BUILDING; } 2669 bool is_building() const { return status_ == BUILDING; }
2670 bool is_done() const { return status_ == DONE; } 2670 bool is_done() const { return status_ == DONE; }
2671 bool is_aborted() const { return status_ == ABORTED; } 2671 bool is_aborted() const { return status_ == ABORTED; }
2672 2672
2673 void Abort(const char* reason); 2673 void Abort(BailoutReason reason);
2674 2674
2675 // Methods for getting operands for Use / Define / Temp. 2675 // Methods for getting operands for Use / Define / Temp.
2676 LUnallocated* ToUnallocated(Register reg); 2676 LUnallocated* ToUnallocated(Register reg);
2677 LUnallocated* ToUnallocated(DoubleRegister reg); 2677 LUnallocated* ToUnallocated(DoubleRegister reg);
2678 2678
2679 // Methods for setting up define-use relationships. 2679 // Methods for setting up define-use relationships.
2680 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); 2680 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand);
2681 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); 2681 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register);
2682 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, 2682 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value,
2683 DoubleRegister fixed_register); 2683 DoubleRegister fixed_register);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
2779 2779
2780 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2780 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2781 }; 2781 };
2782 2782
2783 #undef DECLARE_HYDROGEN_ACCESSOR 2783 #undef DECLARE_HYDROGEN_ACCESSOR
2784 #undef DECLARE_CONCRETE_INSTRUCTION 2784 #undef DECLARE_CONCRETE_INSTRUCTION
2785 2785
2786 } } // namespace v8::internal 2786 } } // namespace v8::internal
2787 2787
2788 #endif // V8_ARM_LITHIUM_ARM_H_ 2788 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698