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

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

Issue 16996004: Rollback of r15097, r15087 in trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 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.h ('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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 MemOperand PrepareKeyedOperand(Register key, 162 MemOperand PrepareKeyedOperand(Register key,
163 Register base, 163 Register base,
164 bool key_is_constant, 164 bool key_is_constant,
165 int constant_key, 165 int constant_key,
166 int element_size, 166 int element_size,
167 int shift_size, 167 int shift_size,
168 int additional_index, 168 int additional_index,
169 int additional_offset); 169 int additional_offset);
170 170
171 // Emit frame translation commands for an environment. 171 // Emit frame translation commands for an environment.
172 void WriteTranslation(LEnvironment* environment, Translation* translation); 172 void WriteTranslation(LEnvironment* environment,
173 Translation* translation,
174 int* arguments_index,
175 int* arguments_count);
173 176
174 // Declare methods that deal with the individual node types. 177 // Declare methods that deal with the individual node types.
175 #define DECLARE_DO(type) void Do##type(L##type* node); 178 #define DECLARE_DO(type) void Do##type(L##type* node);
176 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 179 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
177 #undef DECLARE_DO 180 #undef DECLARE_DO
178 181
179 private: 182 private:
180 enum Status { 183 enum Status {
181 UNUSED, 184 UNUSED,
182 GENERATING, 185 GENERATING,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 LEnvironment* environment, 288 LEnvironment* environment,
286 Register src1 = zero_reg, 289 Register src1 = zero_reg,
287 const Operand& src2 = Operand(zero_reg)); 290 const Operand& src2 = Operand(zero_reg));
288 void SoftDeoptimize(LEnvironment* environment, 291 void SoftDeoptimize(LEnvironment* environment,
289 Register src1 = zero_reg, 292 Register src1 = zero_reg,
290 const Operand& src2 = Operand(zero_reg)); 293 const Operand& src2 = Operand(zero_reg));
291 294
292 void AddToTranslation(Translation* translation, 295 void AddToTranslation(Translation* translation,
293 LOperand* op, 296 LOperand* op,
294 bool is_tagged, 297 bool is_tagged,
295 bool is_uint32); 298 bool is_uint32,
299 bool arguments_known,
300 int arguments_index,
301 int arguments_count);
296 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); 302 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
297 void PopulateDeoptimizationData(Handle<Code> code); 303 void PopulateDeoptimizationData(Handle<Code> code);
298 int DefineDeoptimizationLiteral(Handle<Object> literal); 304 int DefineDeoptimizationLiteral(Handle<Object> literal);
299 305
300 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 306 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
301 307
302 Register ToRegister(int index) const; 308 Register ToRegister(int index) const;
303 DoubleRegister ToDoubleRegister(int index) const; 309 DoubleRegister ToDoubleRegister(int index) const;
304 310
305 void EmitIntegerMathAbs(LMathAbs* instr); 311 void EmitIntegerMathAbs(LMathAbs* instr);
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 LCodeGen* codegen_; 502 LCodeGen* codegen_;
497 Label entry_; 503 Label entry_;
498 Label exit_; 504 Label exit_;
499 Label* external_exit_; 505 Label* external_exit_;
500 int instruction_index_; 506 int instruction_index_;
501 }; 507 };
502 508
503 } } // namespace v8::internal 509 } } // namespace v8::internal
504 510
505 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 511 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/lithium.h ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698