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

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

Issue 12256038: Register dependent codes before populating deoptimization data, which can cause GC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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 | « no previous file | src/arm/lithium-codegen-arm.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 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 274 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
275 Safepoint::DeoptMode mode); 275 Safepoint::DeoptMode mode);
276 void DeoptimizeIf(Condition cc, LEnvironment* environment); 276 void DeoptimizeIf(Condition cc, LEnvironment* environment);
277 277
278 void AddToTranslation(Translation* translation, 278 void AddToTranslation(Translation* translation,
279 LOperand* op, 279 LOperand* op,
280 bool is_tagged, 280 bool is_tagged,
281 bool is_uint32, 281 bool is_uint32,
282 int arguments_index, 282 int arguments_index,
283 int arguments_count); 283 int arguments_count);
284 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
284 void PopulateDeoptimizationData(Handle<Code> code); 285 void PopulateDeoptimizationData(Handle<Code> code);
285 int DefineDeoptimizationLiteral(Handle<Object> literal); 286 int DefineDeoptimizationLiteral(Handle<Object> literal);
286 287
287 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 288 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
288 289
289 Register ToRegister(int index) const; 290 Register ToRegister(int index) const;
290 DwVfpRegister ToDoubleRegister(int index) const; 291 DwVfpRegister ToDoubleRegister(int index) const;
291 292
292 // Specific math operations - used from DoUnaryMathOperation. 293 // Specific math operations - used from DoUnaryMathOperation.
293 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 294 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 LCodeGen* codegen_; 503 LCodeGen* codegen_;
503 Label entry_; 504 Label entry_;
504 Label exit_; 505 Label exit_;
505 Label* external_exit_; 506 Label* external_exit_;
506 int instruction_index_; 507 int instruction_index_;
507 }; 508 };
508 509
509 } } // namespace v8::internal 510 } } // namespace v8::internal
510 511
511 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 512 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698