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

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

Issue 15737003: Handle holes in smi-untag from LoadKeyed requiring hole handling. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Respect hole-mode 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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 2135 matching lines...) Expand 10 before | Expand all | Expand 10 after
2146 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { 2146 class LSmiUntag: public LTemplateInstruction<1, 1, 0> {
2147 public: 2147 public:
2148 LSmiUntag(LOperand* value, bool needs_check) 2148 LSmiUntag(LOperand* value, bool needs_check)
2149 : needs_check_(needs_check) { 2149 : needs_check_(needs_check) {
2150 inputs_[0] = value; 2150 inputs_[0] = value;
2151 } 2151 }
2152 2152
2153 LOperand* value() { return inputs_[0]; } 2153 LOperand* value() { return inputs_[0]; }
2154 2154
2155 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag") 2155 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag")
2156 DECLARE_HYDROGEN_ACCESSOR(Change);
2156 2157
2157 bool needs_check() const { return needs_check_; } 2158 bool needs_check() const { return needs_check_; }
2158 2159
2159 private: 2160 private:
2160 bool needs_check_; 2161 bool needs_check_;
2161 }; 2162 };
2162 2163
2163 2164
2164 class LStoreNamedField: public LTemplateInstruction<0, 2, 2> { 2165 class LStoreNamedField: public LTemplateInstruction<0, 2, 2> {
2165 public: 2166 public:
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
2945 2946
2946 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2947 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2947 }; 2948 };
2948 2949
2949 #undef DECLARE_HYDROGEN_ACCESSOR 2950 #undef DECLARE_HYDROGEN_ACCESSOR
2950 #undef DECLARE_CONCRETE_INSTRUCTION 2951 #undef DECLARE_CONCRETE_INSTRUCTION
2951 2952
2952 } } // namespace v8::internal 2953 } } // namespace v8::internal
2953 2954
2954 #endif // V8_IA32_LITHIUM_IA32_H_ 2955 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698