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

Side by Side Diff: src/ia32/lithium-codegen-ia32.h

Issue 16779004: Allow the deoptimizer translation to track de-materialized objects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Improved comments slightly. Created 7 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 | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-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 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 163 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
164 Label* map_check); 164 Label* map_check);
165 165
166 void DoCheckMapCommon(Register reg, Handle<Map> map, LInstruction* instr); 166 void DoCheckMapCommon(Register reg, Handle<Map> map, LInstruction* instr);
167 167
168 // Parallel move support. 168 // Parallel move support.
169 void DoParallelMove(LParallelMove* move); 169 void DoParallelMove(LParallelMove* move);
170 void DoGap(LGap* instr); 170 void DoGap(LGap* instr);
171 171
172 // Emit frame translation commands for an environment. 172 // Emit frame translation commands for an environment.
173 void WriteTranslation(LEnvironment* environment, 173 void WriteTranslation(LEnvironment* environment, Translation* translation);
174 Translation* translation,
175 int* arguments_index,
176 int* arguments_count);
177 174
178 void EnsureRelocSpaceForDeoptimization(); 175 void EnsureRelocSpaceForDeoptimization();
179 176
180 // Declare methods that deal with the individual node types. 177 // Declare methods that deal with the individual node types.
181 #define DECLARE_DO(type) void Do##type(L##type* node); 178 #define DECLARE_DO(type) void Do##type(L##type* node);
182 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 179 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
183 #undef DECLARE_DO 180 #undef DECLARE_DO
184 181
185 private: 182 private:
186 enum Status { 183 enum Status {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 Safepoint::DeoptMode mode); 277 Safepoint::DeoptMode mode);
281 void DeoptimizeIf(Condition cc, 278 void DeoptimizeIf(Condition cc,
282 LEnvironment* environment, 279 LEnvironment* environment,
283 Deoptimizer::BailoutType bailout_type); 280 Deoptimizer::BailoutType bailout_type);
284 void DeoptimizeIf(Condition cc, LEnvironment* environment); 281 void DeoptimizeIf(Condition cc, LEnvironment* environment);
285 void SoftDeoptimize(LEnvironment* environment); 282 void SoftDeoptimize(LEnvironment* environment);
286 283
287 void AddToTranslation(Translation* translation, 284 void AddToTranslation(Translation* translation,
288 LOperand* op, 285 LOperand* op,
289 bool is_tagged, 286 bool is_tagged,
290 bool is_uint32, 287 bool is_uint32);
291 bool arguments_known,
292 int arguments_index,
293 int arguments_count);
294 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); 288 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
295 void PopulateDeoptimizationData(Handle<Code> code); 289 void PopulateDeoptimizationData(Handle<Code> code);
296 int DefineDeoptimizationLiteral(Handle<Object> literal); 290 int DefineDeoptimizationLiteral(Handle<Object> literal);
297 291
298 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 292 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
299 293
300 Register ToRegister(int index) const; 294 Register ToRegister(int index) const;
301 XMMRegister ToDoubleRegister(int index) const; 295 XMMRegister ToDoubleRegister(int index) const;
302 int ToInteger32(LConstantOperand* op) const; 296 int ToInteger32(LConstantOperand* op) const;
303 297
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 LCodeGen* codegen_; 479 LCodeGen* codegen_;
486 Label entry_; 480 Label entry_;
487 Label exit_; 481 Label exit_;
488 Label* external_exit_; 482 Label* external_exit_;
489 int instruction_index_; 483 int instruction_index_;
490 }; 484 };
491 485
492 } } // namespace v8::internal 486 } } // namespace v8::internal
493 487
494 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 488 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698