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

Side by Side Diff: src/hydrogen-instructions.h

Issue 6928061: Revert "First step in letting Crankshaft inline functions with a different context." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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/hydrogen.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 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 3293 matching lines...) Expand 10 before | Expand all | Expand 10 after
3304 return array_type_ == cast_other->array_type(); 3304 return array_type_ == cast_other->array_type();
3305 } 3305 }
3306 3306
3307 private: 3307 private:
3308 ExternalArrayType array_type_; 3308 ExternalArrayType array_type_;
3309 }; 3309 };
3310 3310
3311 3311
3312 class HLoadKeyedGeneric: public HTemplateInstruction<3> { 3312 class HLoadKeyedGeneric: public HTemplateInstruction<3> {
3313 public: 3313 public:
3314 HLoadKeyedGeneric(HValue* context, HValue* obj, HValue* key) { 3314 HLoadKeyedGeneric(HContext* context, HValue* obj, HValue* key) {
3315 set_representation(Representation::Tagged()); 3315 set_representation(Representation::Tagged());
3316 SetOperandAt(0, obj); 3316 SetOperandAt(0, obj);
3317 SetOperandAt(1, key); 3317 SetOperandAt(1, key);
3318 SetOperandAt(2, context); 3318 SetOperandAt(2, context);
3319 SetAllSideEffects(); 3319 SetAllSideEffects();
3320 } 3320 }
3321 3321
3322 HValue* object() { return OperandAt(0); } 3322 HValue* object() { return OperandAt(0); }
3323 HValue* key() { return OperandAt(1); } 3323 HValue* key() { return OperandAt(1); }
3324 HValue* context() { return OperandAt(2); } 3324 HValue* context() { return OperandAt(2); }
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
3828 3828
3829 DECLARE_CONCRETE_INSTRUCTION(In) 3829 DECLARE_CONCRETE_INSTRUCTION(In)
3830 }; 3830 };
3831 3831
3832 #undef DECLARE_INSTRUCTION 3832 #undef DECLARE_INSTRUCTION
3833 #undef DECLARE_CONCRETE_INSTRUCTION 3833 #undef DECLARE_CONCRETE_INSTRUCTION
3834 3834
3835 } } // namespace v8::internal 3835 } } // namespace v8::internal
3836 3836
3837 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 3837 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698