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

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

Issue 15690003: MIPS: Handle holes in smi-untag from LoadKeyed requiring hole handling. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2016 matching lines...) Expand 10 before | Expand all | Expand 10 after
2027 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { 2027 class LSmiUntag: public LTemplateInstruction<1, 1, 0> {
2028 public: 2028 public:
2029 LSmiUntag(LOperand* value, bool needs_check) 2029 LSmiUntag(LOperand* value, bool needs_check)
2030 : needs_check_(needs_check) { 2030 : needs_check_(needs_check) {
2031 inputs_[0] = value; 2031 inputs_[0] = value;
2032 } 2032 }
2033 2033
2034 LOperand* value() { return inputs_[0]; } 2034 LOperand* value() { return inputs_[0]; }
2035 bool needs_check() const { return needs_check_; } 2035 bool needs_check() const { return needs_check_; }
2036 2036
2037 DECLARE_HYDROGEN_ACCESSOR(Change);
2037 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag") 2038 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag")
2038 2039
2039 private: 2040 private:
2040 bool needs_check_; 2041 bool needs_check_;
2041 }; 2042 };
2042 2043
2043 2044
2044 class LStoreNamedField: public LTemplateInstruction<0, 2, 1> { 2045 class LStoreNamedField: public LTemplateInstruction<0, 2, 1> {
2045 public: 2046 public:
2046 LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) { 2047 LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) {
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
2756 2757
2757 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2758 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2758 }; 2759 };
2759 2760
2760 #undef DECLARE_HYDROGEN_ACCESSOR 2761 #undef DECLARE_HYDROGEN_ACCESSOR
2761 #undef DECLARE_CONCRETE_INSTRUCTION 2762 #undef DECLARE_CONCRETE_INSTRUCTION
2762 2763
2763 } } // namespace v8::internal 2764 } } // namespace v8::internal
2764 2765
2765 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2766 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698