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

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

Issue 112863002: Merge bleeding_edge 18021:18297 (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years 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/ic-mips.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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 Register input, 179 Register input,
180 Register temporary, 180 Register temporary,
181 Register temporary2); 181 Register temporary2);
182 182
183 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 183 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
184 184
185 void Abort(BailoutReason reason); 185 void Abort(BailoutReason reason);
186 186
187 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } 187 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
188 188
189 void SaveCallerDoubles();
190 void RestoreCallerDoubles();
191
189 // Code generation passes. Returns true if code generation should 192 // Code generation passes. Returns true if code generation should
190 // continue. 193 // continue.
191 bool GeneratePrologue(); 194 bool GeneratePrologue();
192 bool GenerateDeferredCode(); 195 bool GenerateDeferredCode();
193 bool GenerateDeoptJumpTable(); 196 bool GenerateDeoptJumpTable();
194 bool GenerateSafepointTable(); 197 bool GenerateSafepointTable();
195 198
196 // Generates the custom OSR entrypoint and sets the osr_pc_offset. 199 // Generates the custom OSR entrypoint and sets the osr_pc_offset.
197 void GenerateOsrPrologue(); 200 void GenerateOsrPrologue();
198 201
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 Register src1 = zero_reg, 264 Register src1 = zero_reg,
262 const Operand& src2 = Operand(zero_reg)); 265 const Operand& src2 = Operand(zero_reg));
263 266
264 void AddToTranslation(LEnvironment* environment, 267 void AddToTranslation(LEnvironment* environment,
265 Translation* translation, 268 Translation* translation,
266 LOperand* op, 269 LOperand* op,
267 bool is_tagged, 270 bool is_tagged,
268 bool is_uint32, 271 bool is_uint32,
269 int* object_index_pointer, 272 int* object_index_pointer,
270 int* dematerialized_index_pointer); 273 int* dematerialized_index_pointer);
271 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
272 void PopulateDeoptimizationData(Handle<Code> code); 274 void PopulateDeoptimizationData(Handle<Code> code);
273 int DefineDeoptimizationLiteral(Handle<Object> literal); 275 int DefineDeoptimizationLiteral(Handle<Object> literal);
274 276
275 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 277 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
276 278
277 Register ToRegister(int index) const; 279 Register ToRegister(int index) const;
278 DoubleRegister ToDoubleRegister(int index) const; 280 DoubleRegister ToDoubleRegister(int index) const;
279 281
280 MemOperand BuildSeqStringOperand(Register string, 282 MemOperand BuildSeqStringOperand(Register string,
281 LOperand* index, 283 LOperand* index,
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 LCodeGen* codegen_; 486 LCodeGen* codegen_;
485 Label entry_; 487 Label entry_;
486 Label exit_; 488 Label exit_;
487 Label* external_exit_; 489 Label* external_exit_;
488 int instruction_index_; 490 int instruction_index_;
489 }; 491 };
490 492
491 } } // namespace v8::internal 493 } } // namespace v8::internal
492 494
493 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 495 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/ic-mips.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698