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

Side by Side Diff: src/ia32/lithium-ia32.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 2782 matching lines...) Expand 10 before | Expand all | Expand 10 after
2793 LPlatformChunk* chunk() const { return chunk_; } 2793 LPlatformChunk* chunk() const { return chunk_; }
2794 CompilationInfo* info() const { return info_; } 2794 CompilationInfo* info() const { return info_; }
2795 HGraph* graph() const { return graph_; } 2795 HGraph* graph() const { return graph_; }
2796 Zone* zone() const { return zone_; } 2796 Zone* zone() const { return zone_; }
2797 2797
2798 bool is_unused() const { return status_ == UNUSED; } 2798 bool is_unused() const { return status_ == UNUSED; }
2799 bool is_building() const { return status_ == BUILDING; } 2799 bool is_building() const { return status_ == BUILDING; }
2800 bool is_done() const { return status_ == DONE; } 2800 bool is_done() const { return status_ == DONE; }
2801 bool is_aborted() const { return status_ == ABORTED; } 2801 bool is_aborted() const { return status_ == ABORTED; }
2802 2802
2803 void Abort(const char* reason); 2803 void Abort(BailoutReason reason);
2804 2804
2805 // Methods for getting operands for Use / Define / Temp. 2805 // Methods for getting operands for Use / Define / Temp.
2806 LUnallocated* ToUnallocated(Register reg); 2806 LUnallocated* ToUnallocated(Register reg);
2807 LUnallocated* ToUnallocated(XMMRegister reg); 2807 LUnallocated* ToUnallocated(XMMRegister reg);
2808 LUnallocated* ToUnallocated(X87Register reg); 2808 LUnallocated* ToUnallocated(X87Register reg);
2809 2809
2810 // Methods for setting up define-use relationships. 2810 // Methods for setting up define-use relationships.
2811 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); 2811 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand);
2812 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); 2812 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register);
2813 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, 2813 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
2918 2918
2919 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2919 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2920 }; 2920 };
2921 2921
2922 #undef DECLARE_HYDROGEN_ACCESSOR 2922 #undef DECLARE_HYDROGEN_ACCESSOR
2923 #undef DECLARE_CONCRETE_INSTRUCTION 2923 #undef DECLARE_CONCRETE_INSTRUCTION
2924 2924
2925 } } // namespace v8::internal 2925 } } // namespace v8::internal
2926 2926
2927 #endif // V8_IA32_LITHIUM_IA32_H_ 2927 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698