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

Side by Side Diff: src/mips/lithium-codegen-mips.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/lithium.cc ('k') | src/mips/lithium-codegen-mips.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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 LEnvironment* environment, 268 LEnvironment* environment,
269 Register src1 = zero_reg, 269 Register src1 = zero_reg,
270 const Operand& src2 = Operand(zero_reg)); 270 const Operand& src2 = Operand(zero_reg));
271 271
272 void AddToTranslation(Translation* translation, 272 void AddToTranslation(Translation* translation,
273 LOperand* op, 273 LOperand* op,
274 bool is_tagged, 274 bool is_tagged,
275 bool is_uint32, 275 bool is_uint32,
276 int arguments_index, 276 int arguments_index,
277 int arguments_count); 277 int arguments_count);
278 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
278 void PopulateDeoptimizationData(Handle<Code> code); 279 void PopulateDeoptimizationData(Handle<Code> code);
279 int DefineDeoptimizationLiteral(Handle<Object> literal); 280 int DefineDeoptimizationLiteral(Handle<Object> literal);
280 281
281 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 282 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
282 283
283 Register ToRegister(int index) const; 284 Register ToRegister(int index) const;
284 DoubleRegister ToDoubleRegister(int index) const; 285 DoubleRegister ToDoubleRegister(int index) const;
285 286
286 // Specific math operations - used from DoUnaryMathOperation. 287 // Specific math operations - used from DoUnaryMathOperation.
287 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 288 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 LCodeGen* codegen_; 500 LCodeGen* codegen_;
500 Label entry_; 501 Label entry_;
501 Label exit_; 502 Label exit_;
502 Label* external_exit_; 503 Label* external_exit_;
503 int instruction_index_; 504 int instruction_index_;
504 }; 505 };
505 506
506 } } // namespace v8::internal 507 } } // namespace v8::internal
507 508
508 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 509 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/lithium.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698