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

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

Issue 7003054: Fix bug with GVN on array loads. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: fixed lint errors Created 9 years, 6 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') | src/hydrogen.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 } 954 }
955 955
956 DECLARE_CONCRETE_INSTRUCTION(InstanceOfKnownGlobal, 956 DECLARE_CONCRETE_INSTRUCTION(InstanceOfKnownGlobal,
957 "instance-of-known-global") 957 "instance-of-known-global")
958 DECLARE_HYDROGEN_ACCESSOR(InstanceOfKnownGlobal) 958 DECLARE_HYDROGEN_ACCESSOR(InstanceOfKnownGlobal)
959 959
960 Handle<JSFunction> function() const { return hydrogen()->function(); } 960 Handle<JSFunction> function() const { return hydrogen()->function(); }
961 }; 961 };
962 962
963 963
964 class LBoundsCheck: public LTemplateInstruction<0, 2, 0> { 964 class LBoundsCheck: public LTemplateInstruction<1, 2, 0> {
965 public: 965 public:
966 LBoundsCheck(LOperand* index, LOperand* length) { 966 LBoundsCheck(LOperand* index, LOperand* length) {
967 inputs_[0] = index; 967 inputs_[0] = index;
968 inputs_[1] = length; 968 inputs_[1] = length;
969 } 969 }
970 970
971 LOperand* index() { return inputs_[0]; } 971 LOperand* index() { return inputs_[0]; }
972 LOperand* length() { return inputs_[1]; } 972 LOperand* length() { return inputs_[1]; }
973 973
974 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check") 974 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check")
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after
2345 2345
2346 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2346 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2347 }; 2347 };
2348 2348
2349 #undef DECLARE_HYDROGEN_ACCESSOR 2349 #undef DECLARE_HYDROGEN_ACCESSOR
2350 #undef DECLARE_CONCRETE_INSTRUCTION 2350 #undef DECLARE_CONCRETE_INSTRUCTION
2351 2351
2352 } } // namespace v8::internal 2352 } } // namespace v8::internal
2353 2353
2354 #endif // V8_ARM_LITHIUM_ARM_H_ 2354 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698