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

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

Issue 10735020: Optimize Smi keys for KeyedLoads (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review feedback Created 8 years, 5 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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 public: 852 public:
853 LBoundsCheck(LOperand* index, LOperand* length) { 853 LBoundsCheck(LOperand* index, LOperand* length) {
854 inputs_[0] = index; 854 inputs_[0] = index;
855 inputs_[1] = length; 855 inputs_[1] = length;
856 } 856 }
857 857
858 LOperand* index() { return inputs_[0]; } 858 LOperand* index() { return inputs_[0]; }
859 LOperand* length() { return inputs_[1]; } 859 LOperand* length() { return inputs_[1]; }
860 860
861 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check") 861 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check")
862 DECLARE_HYDROGEN_ACCESSOR(BoundsCheck)
862 }; 863 };
863 864
864 865
865 class LBitI: public LTemplateInstruction<1, 2, 0> { 866 class LBitI: public LTemplateInstruction<1, 2, 0> {
866 public: 867 public:
867 LBitI(LOperand* left, LOperand* right) { 868 LBitI(LOperand* left, LOperand* right) {
868 inputs_[0] = left; 869 inputs_[0] = left;
869 inputs_[1] = right; 870 inputs_[1] = right;
870 } 871 }
871 872
(...skipping 1515 matching lines...) Expand 10 before | Expand all | Expand 10 after
2387 2388
2388 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2389 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2389 }; 2390 };
2390 2391
2391 #undef DECLARE_HYDROGEN_ACCESSOR 2392 #undef DECLARE_HYDROGEN_ACCESSOR
2392 #undef DECLARE_CONCRETE_INSTRUCTION 2393 #undef DECLARE_CONCRETE_INSTRUCTION
2393 2394
2394 } } // namespace v8::internal 2395 } } // namespace v8::internal
2395 2396
2396 #endif // V8_ARM_LITHIUM_ARM_H_ 2397 #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