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

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: Minor cleanup. 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
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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 SafepointMode safepoint_mode); 275 SafepointMode safepoint_mode);
276 276
277 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 277 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
278 Safepoint::DeoptMode mode); 278 Safepoint::DeoptMode mode);
279 void DeoptimizeIf(Condition cc, 279 void DeoptimizeIf(Condition cc,
280 LEnvironment* environment, 280 LEnvironment* environment,
281 Deoptimizer::BailoutType bailout_type); 281 Deoptimizer::BailoutType bailout_type);
282 void DeoptimizeIf(Condition cc, LEnvironment* environment); 282 void DeoptimizeIf(Condition cc, LEnvironment* environment);
283 void ApplyCheckIf(Condition cc, LBoundsCheck* check); 283 void ApplyCheckIf(Condition cc, LBoundsCheck* check);
284 284
285 void AddToTranslation(Translation* translation, 285 void AddToTranslation(LEnvironment* environment,
286 Translation* translation,
286 LOperand* op, 287 LOperand* op,
287 bool is_tagged, 288 bool is_tagged,
288 bool is_uint32); 289 bool is_uint32,
290 int* object_index_pointer,
291 int* dematerialized_index_pointer);
289 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); 292 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
290 void PopulateDeoptimizationData(Handle<Code> code); 293 void PopulateDeoptimizationData(Handle<Code> code);
291 int DefineDeoptimizationLiteral(Handle<Object> literal); 294 int DefineDeoptimizationLiteral(Handle<Object> literal);
292 295
293 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 296 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
294 297
295 Register ToRegister(int index) const; 298 Register ToRegister(int index) const;
296 XMMRegister ToDoubleRegister(int index) const; 299 XMMRegister ToDoubleRegister(int index) const;
297 X87Register ToX87Register(int index) const; 300 X87Register ToX87Register(int index) const;
298 int ToRepresentation(LConstantOperand* op, const Representation& r) const; 301 int ToRepresentation(LConstantOperand* op, const Representation& r) const;
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 LCodeGen* codegen_; 497 LCodeGen* codegen_;
495 Label entry_; 498 Label entry_;
496 Label exit_; 499 Label exit_;
497 Label* external_exit_; 500 Label* external_exit_;
498 int instruction_index_; 501 int instruction_index_;
499 }; 502 };
500 503
501 } } // namespace v8::internal 504 } } // namespace v8::internal
502 505
503 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 506 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698