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

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

Issue 21055011: First implementation of allocation elimination in Hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Created 7 years, 4 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 SafepointMode safepoint_mode); 274 SafepointMode safepoint_mode);
275 275
276 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 276 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
277 Safepoint::DeoptMode mode); 277 Safepoint::DeoptMode mode);
278 void DeoptimizeIf(Condition cc, 278 void DeoptimizeIf(Condition cc,
279 LEnvironment* environment, 279 LEnvironment* environment,
280 Deoptimizer::BailoutType bailout_type); 280 Deoptimizer::BailoutType bailout_type);
281 void DeoptimizeIf(Condition cc, LEnvironment* environment); 281 void DeoptimizeIf(Condition cc, LEnvironment* environment);
282 void ApplyCheckIf(Condition cc, LBoundsCheck* check); 282 void ApplyCheckIf(Condition cc, LBoundsCheck* check);
283 283
284 void AddToTranslation(Translation* translation, 284 void AddToTranslation(LEnvironment* environment,
285 Translation* translation,
285 LOperand* op, 286 LOperand* op,
286 bool is_tagged, 287 bool is_tagged,
287 bool is_uint32); 288 bool is_uint32,
289 int* object_index_pointer,
290 int* dematerialized_index_pointer);
288 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); 291 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
289 void PopulateDeoptimizationData(Handle<Code> code); 292 void PopulateDeoptimizationData(Handle<Code> code);
290 int DefineDeoptimizationLiteral(Handle<Object> literal); 293 int DefineDeoptimizationLiteral(Handle<Object> literal);
291 294
292 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 295 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
293 296
294 Register ToRegister(int index) const; 297 Register ToRegister(int index) const;
295 XMMRegister ToDoubleRegister(int index) const; 298 XMMRegister ToDoubleRegister(int index) const;
296 X87Register ToX87Register(int index) const; 299 X87Register ToX87Register(int index) const;
297 int32_t ToRepresentation(LConstantOperand* op, const Representation& r) const; 300 int32_t ToRepresentation(LConstantOperand* op, const Representation& r) const;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 LCodeGen* codegen_; 504 LCodeGen* codegen_;
502 Label entry_; 505 Label entry_;
503 Label exit_; 506 Label exit_;
504 Label* external_exit_; 507 Label* external_exit_;
505 int instruction_index_; 508 int instruction_index_;
506 }; 509 };
507 510
508 } } // namespace v8::internal 511 } } // namespace v8::internal
509 512
510 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 513 #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