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/x64/lithium-x64.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 2555 matching lines...) Expand 10 before | Expand all | Expand 10 after
2566 LPlatformChunk* chunk() const { return chunk_; } 2566 LPlatformChunk* chunk() const { return chunk_; }
2567 CompilationInfo* info() const { return info_; } 2567 CompilationInfo* info() const { return info_; }
2568 HGraph* graph() const { return graph_; } 2568 HGraph* graph() const { return graph_; }
2569 Zone* zone() const { return zone_; } 2569 Zone* zone() const { return zone_; }
2570 2570
2571 bool is_unused() const { return status_ == UNUSED; } 2571 bool is_unused() const { return status_ == UNUSED; }
2572 bool is_building() const { return status_ == BUILDING; } 2572 bool is_building() const { return status_ == BUILDING; }
2573 bool is_done() const { return status_ == DONE; } 2573 bool is_done() const { return status_ == DONE; }
2574 bool is_aborted() const { return status_ == ABORTED; } 2574 bool is_aborted() const { return status_ == ABORTED; }
2575 2575
2576 void Abort(const char* reason); 2576 void Abort(BailoutReason reason);
2577 2577
2578 // Methods for getting operands for Use / Define / Temp. 2578 // Methods for getting operands for Use / Define / Temp.
2579 LUnallocated* ToUnallocated(Register reg); 2579 LUnallocated* ToUnallocated(Register reg);
2580 LUnallocated* ToUnallocated(XMMRegister reg); 2580 LUnallocated* ToUnallocated(XMMRegister reg);
2581 2581
2582 // Methods for setting up define-use relationships. 2582 // Methods for setting up define-use relationships.
2583 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); 2583 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand);
2584 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); 2584 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register);
2585 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, 2585 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value,
2586 XMMRegister fixed_register); 2586 XMMRegister fixed_register);
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
2686 2686
2687 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2687 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2688 }; 2688 };
2689 2689
2690 #undef DECLARE_HYDROGEN_ACCESSOR 2690 #undef DECLARE_HYDROGEN_ACCESSOR
2691 #undef DECLARE_CONCRETE_INSTRUCTION 2691 #undef DECLARE_CONCRETE_INSTRUCTION
2692 2692
2693 } } // namespace v8::int 2693 } } // namespace v8::int
2694 2694
2695 #endif // V8_X64_LITHIUM_X64_H_ 2695 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« src/compiler.cc ('K') | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698