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

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

Issue 21055011: First implementation of allocation elimination in Hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ported to x64 and ARM architectures. 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 SafepointMode safepoint_mode); 280 SafepointMode safepoint_mode);
281 281
282 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 282 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
283 Safepoint::DeoptMode mode); 283 Safepoint::DeoptMode mode);
284 void DeoptimizeIf(Condition cc, 284 void DeoptimizeIf(Condition cc,
285 LEnvironment* environment, 285 LEnvironment* environment,
286 Deoptimizer::BailoutType bailout_type); 286 Deoptimizer::BailoutType bailout_type);
287 void DeoptimizeIf(Condition cc, LEnvironment* environment); 287 void DeoptimizeIf(Condition cc, LEnvironment* environment);
288 void ApplyCheckIf(Condition cc, LBoundsCheck* check); 288 void ApplyCheckIf(Condition cc, LBoundsCheck* check);
289 289
290 void AddToTranslation(Translation* translation, 290 void AddToTranslation(LEnvironment* environment,
291 Translation* translation,
291 LOperand* op, 292 LOperand* op,
292 bool is_tagged, 293 bool is_tagged,
293 bool is_uint32); 294 bool is_uint32,
295 int* object_index_pointer,
296 int* dematerialized_index_pointer);
294 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); 297 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
295 void PopulateDeoptimizationData(Handle<Code> code); 298 void PopulateDeoptimizationData(Handle<Code> code);
296 int DefineDeoptimizationLiteral(Handle<Object> literal); 299 int DefineDeoptimizationLiteral(Handle<Object> literal);
297 300
298 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 301 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
299 302
300 Register ToRegister(int index) const; 303 Register ToRegister(int index) const;
301 DwVfpRegister ToDoubleRegister(int index) const; 304 DwVfpRegister ToDoubleRegister(int index) const;
302 305
303 void EmitIntegerMathAbs(LMathAbs* instr); 306 void EmitIntegerMathAbs(LMathAbs* instr);
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 LCodeGen* codegen_; 495 LCodeGen* codegen_;
493 Label entry_; 496 Label entry_;
494 Label exit_; 497 Label exit_;
495 Label* external_exit_; 498 Label* external_exit_;
496 int instruction_index_; 499 int instruction_index_;
497 }; 500 };
498 501
499 } } // namespace v8::internal 502 } } // namespace v8::internal
500 503
501 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 504 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698