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

Side by Side Diff: src/x64/lithium-codegen-x64.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 | « src/mips/lithium-codegen-mips.cc ('k') | src/x64/lithium-codegen-x64.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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 235 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
236 Safepoint::DeoptMode mode); 236 Safepoint::DeoptMode mode);
237 void DeoptimizeIf(Condition cc, LEnvironment* environment); 237 void DeoptimizeIf(Condition cc, LEnvironment* environment);
238 238
239 void AddToTranslation(Translation* translation, 239 void AddToTranslation(Translation* translation,
240 LOperand* op, 240 LOperand* op,
241 bool is_tagged, 241 bool is_tagged,
242 bool is_uint32, 242 bool is_uint32,
243 int arguments_index, 243 int arguments_index,
244 int arguments_count); 244 int arguments_count);
245 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
245 void PopulateDeoptimizationData(Handle<Code> code); 246 void PopulateDeoptimizationData(Handle<Code> code);
246 int DefineDeoptimizationLiteral(Handle<Object> literal); 247 int DefineDeoptimizationLiteral(Handle<Object> literal);
247 248
248 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 249 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
249 250
250 Register ToRegister(int index) const; 251 Register ToRegister(int index) const;
251 XMMRegister ToDoubleRegister(int index) const; 252 XMMRegister ToDoubleRegister(int index) const;
252 Operand BuildFastArrayOperand( 253 Operand BuildFastArrayOperand(
253 LOperand* elements_pointer, 254 LOperand* elements_pointer,
254 LOperand* key, 255 LOperand* key,
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 LCodeGen* codegen_; 438 LCodeGen* codegen_;
438 Label entry_; 439 Label entry_;
439 Label exit_; 440 Label exit_;
440 Label* external_exit_; 441 Label* external_exit_;
441 int instruction_index_; 442 int instruction_index_;
442 }; 443 };
443 444
444 } } // namespace v8::internal 445 } } // namespace v8::internal
445 446
446 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 447 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698