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

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

Issue 9215010: Merge r10006, r10087 and r10126 from bleeding edge to the 3.6 branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.6/
Patch Set: Created 8 years, 11 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/deoptimizer.cc ('k') | src/ia32/deoptimizer-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 4040 matching lines...) Expand 10 before | Expand all | Expand 10 after
4051 class HRegExpLiteral: public HMaterializedLiteral<1> { 4051 class HRegExpLiteral: public HMaterializedLiteral<1> {
4052 public: 4052 public:
4053 HRegExpLiteral(HValue* context, 4053 HRegExpLiteral(HValue* context,
4054 Handle<String> pattern, 4054 Handle<String> pattern,
4055 Handle<String> flags, 4055 Handle<String> flags,
4056 int literal_index) 4056 int literal_index)
4057 : HMaterializedLiteral<1>(literal_index, 0), 4057 : HMaterializedLiteral<1>(literal_index, 0),
4058 pattern_(pattern), 4058 pattern_(pattern),
4059 flags_(flags) { 4059 flags_(flags) {
4060 SetOperandAt(0, context); 4060 SetOperandAt(0, context);
4061 SetAllSideEffects();
4061 } 4062 }
4062 4063
4063 HValue* context() { return OperandAt(0); } 4064 HValue* context() { return OperandAt(0); }
4064 Handle<String> pattern() { return pattern_; } 4065 Handle<String> pattern() { return pattern_; }
4065 Handle<String> flags() { return flags_; } 4066 Handle<String> flags() { return flags_; }
4066 4067
4067 virtual Representation RequiredInputRepresentation(int index) const { 4068 virtual Representation RequiredInputRepresentation(int index) const {
4068 return Representation::Tagged(); 4069 return Representation::Tagged();
4069 } 4070 }
4070 4071
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
4201 4202
4202 DECLARE_CONCRETE_INSTRUCTION(In) 4203 DECLARE_CONCRETE_INSTRUCTION(In)
4203 }; 4204 };
4204 4205
4205 #undef DECLARE_INSTRUCTION 4206 #undef DECLARE_INSTRUCTION
4206 #undef DECLARE_CONCRETE_INSTRUCTION 4207 #undef DECLARE_CONCRETE_INSTRUCTION
4207 4208
4208 } } // namespace v8::internal 4209 } } // namespace v8::internal
4209 4210
4210 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 4211 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/ia32/deoptimizer-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698