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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/arm/lithium-codegen-arm.cc ('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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 255 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
256 Safepoint::DeoptMode mode); 256 Safepoint::DeoptMode mode);
257 void DeoptimizeIf(Condition cc, LEnvironment* environment); 257 void DeoptimizeIf(Condition cc, LEnvironment* environment);
258 258
259 void AddToTranslation(Translation* translation, 259 void AddToTranslation(Translation* translation,
260 LOperand* op, 260 LOperand* op,
261 bool is_tagged, 261 bool is_tagged,
262 bool is_uint32, 262 bool is_uint32,
263 int arguments_index, 263 int arguments_index,
264 int arguments_count); 264 int arguments_count);
265 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
265 void PopulateDeoptimizationData(Handle<Code> code); 266 void PopulateDeoptimizationData(Handle<Code> code);
266 int DefineDeoptimizationLiteral(Handle<Object> literal); 267 int DefineDeoptimizationLiteral(Handle<Object> literal);
267 268
268 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 269 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
269 270
270 Register ToRegister(int index) const; 271 Register ToRegister(int index) const;
271 XMMRegister ToDoubleRegister(int index) const; 272 XMMRegister ToDoubleRegister(int index) const;
272 int ToInteger32(LConstantOperand* op) const; 273 int ToInteger32(LConstantOperand* op) const;
273 274
274 double ToDouble(LConstantOperand* op) const; 275 double ToDouble(LConstantOperand* op) const;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 LCodeGen* codegen_; 464 LCodeGen* codegen_;
464 Label entry_; 465 Label entry_;
465 Label exit_; 466 Label exit_;
466 Label* external_exit_; 467 Label* external_exit_;
467 int instruction_index_; 468 int instruction_index_;
468 }; 469 };
469 470
470 } } // namespace v8::internal 471 } } // namespace v8::internal
471 472
472 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 473 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698