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

Side by Side Diff: src/arm/lithium-arm.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 | « no previous file | src/arm/lithium-arm.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 2069 matching lines...) Expand 10 before | Expand all | Expand 10 after
2080 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { 2080 class LSmiUntag: public LTemplateInstruction<1, 1, 0> {
2081 public: 2081 public:
2082 LSmiUntag(LOperand* value, bool needs_check) 2082 LSmiUntag(LOperand* value, bool needs_check)
2083 : needs_check_(needs_check) { 2083 : needs_check_(needs_check) {
2084 inputs_[0] = value; 2084 inputs_[0] = value;
2085 } 2085 }
2086 2086
2087 LOperand* value() { return inputs_[0]; } 2087 LOperand* value() { return inputs_[0]; }
2088 bool needs_check() const { return needs_check_; } 2088 bool needs_check() const { return needs_check_; }
2089 2089
2090 DECLARE_HYDROGEN_ACCESSOR(Change);
2090 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag") 2091 DECLARE_CONCRETE_INSTRUCTION(SmiUntag, "smi-untag")
2091 2092
2092 private: 2093 private:
2093 bool needs_check_; 2094 bool needs_check_;
2094 }; 2095 };
2095 2096
2096 2097
2097 class LStoreNamedField: public LTemplateInstruction<0, 2, 1> { 2098 class LStoreNamedField: public LTemplateInstruction<0, 2, 1> {
2098 public: 2099 public:
2099 LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) { 2100 LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) {
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
2820 2821
2821 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2822 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2822 }; 2823 };
2823 2824
2824 #undef DECLARE_HYDROGEN_ACCESSOR 2825 #undef DECLARE_HYDROGEN_ACCESSOR
2825 #undef DECLARE_CONCRETE_INSTRUCTION 2826 #undef DECLARE_CONCRETE_INSTRUCTION
2826 2827
2827 } } // namespace v8::internal 2828 } } // namespace v8::internal
2828 2829
2829 #endif // V8_ARM_LITHIUM_ARM_H_ 2830 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698