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

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

Issue 8492004: Fix lazy deoptimization at HInvokeFunction and enable target-recording call-function stub. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: added nop-padding and assertions on all platforms Created 9 years, 1 month 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 4120 matching lines...) Expand 10 before | Expand all | Expand 10 after
4131 class HRegExpLiteral: public HMaterializedLiteral<1> { 4131 class HRegExpLiteral: public HMaterializedLiteral<1> {
4132 public: 4132 public:
4133 HRegExpLiteral(HValue* context, 4133 HRegExpLiteral(HValue* context,
4134 Handle<String> pattern, 4134 Handle<String> pattern,
4135 Handle<String> flags, 4135 Handle<String> flags,
4136 int literal_index) 4136 int literal_index)
4137 : HMaterializedLiteral<1>(literal_index, 0), 4137 : HMaterializedLiteral<1>(literal_index, 0),
4138 pattern_(pattern), 4138 pattern_(pattern),
4139 flags_(flags) { 4139 flags_(flags) {
4140 SetOperandAt(0, context); 4140 SetOperandAt(0, context);
4141 SetAllSideEffects();
4141 } 4142 }
4142 4143
4143 HValue* context() { return OperandAt(0); } 4144 HValue* context() { return OperandAt(0); }
4144 Handle<String> pattern() { return pattern_; } 4145 Handle<String> pattern() { return pattern_; }
4145 Handle<String> flags() { return flags_; } 4146 Handle<String> flags() { return flags_; }
4146 4147
4147 virtual Representation RequiredInputRepresentation(int index) { 4148 virtual Representation RequiredInputRepresentation(int index) {
4148 return Representation::Tagged(); 4149 return Representation::Tagged();
4149 } 4150 }
4150 virtual HType CalculateInferredType(); 4151 virtual HType CalculateInferredType();
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
4286 4287
4287 DECLARE_CONCRETE_INSTRUCTION(In) 4288 DECLARE_CONCRETE_INSTRUCTION(In)
4288 }; 4289 };
4289 4290
4290 #undef DECLARE_INSTRUCTION 4291 #undef DECLARE_INSTRUCTION
4291 #undef DECLARE_CONCRETE_INSTRUCTION 4292 #undef DECLARE_CONCRETE_INSTRUCTION
4292 4293
4293 } } // namespace v8::internal 4294 } } // namespace v8::internal
4294 4295
4295 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 4296 #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