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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/hydrogen-instructions.h ('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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 161 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
162 Label* map_check); 162 Label* map_check);
163 163
164 void DoCheckMapCommon(Register reg, Handle<Map> map, LInstruction* instr); 164 void DoCheckMapCommon(Register reg, Handle<Map> map, LInstruction* instr);
165 165
166 // Parallel move support. 166 // Parallel move support.
167 void DoParallelMove(LParallelMove* move); 167 void DoParallelMove(LParallelMove* move);
168 void DoGap(LGap* instr); 168 void DoGap(LGap* instr);
169 169
170 // Emit frame translation commands for an environment. 170 // Emit frame translation commands for an environment.
171 void WriteTranslation(LEnvironment* environment, Translation* translation); 171 void WriteTranslation(LEnvironment* environment,
172 Translation* translation,
173 int* arguments_index,
174 int* arguments_count);
172 175
173 void EnsureRelocSpaceForDeoptimization(); 176 void EnsureRelocSpaceForDeoptimization();
174 177
175 // Declare methods that deal with the individual node types. 178 // Declare methods that deal with the individual node types.
176 #define DECLARE_DO(type) void Do##type(L##type* node); 179 #define DECLARE_DO(type) void Do##type(L##type* node);
177 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 180 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
178 #undef DECLARE_DO 181 #undef DECLARE_DO
179 182
180 private: 183 private:
181 enum Status { 184 enum Status {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 Safepoint::DeoptMode mode); 278 Safepoint::DeoptMode mode);
276 void DeoptimizeIf(Condition cc, 279 void DeoptimizeIf(Condition cc,
277 LEnvironment* environment, 280 LEnvironment* environment,
278 Deoptimizer::BailoutType bailout_type); 281 Deoptimizer::BailoutType bailout_type);
279 void DeoptimizeIf(Condition cc, LEnvironment* environment); 282 void DeoptimizeIf(Condition cc, LEnvironment* environment);
280 void SoftDeoptimize(LEnvironment* environment); 283 void SoftDeoptimize(LEnvironment* environment);
281 284
282 void AddToTranslation(Translation* translation, 285 void AddToTranslation(Translation* translation,
283 LOperand* op, 286 LOperand* op,
284 bool is_tagged, 287 bool is_tagged,
285 bool is_uint32); 288 bool is_uint32,
289 bool arguments_known,
290 int arguments_index,
291 int arguments_count);
286 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); 292 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
287 void PopulateDeoptimizationData(Handle<Code> code); 293 void PopulateDeoptimizationData(Handle<Code> code);
288 int DefineDeoptimizationLiteral(Handle<Object> literal); 294 int DefineDeoptimizationLiteral(Handle<Object> literal);
289 295
290 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 296 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
291 297
292 Register ToRegister(int index) const; 298 Register ToRegister(int index) const;
293 XMMRegister ToDoubleRegister(int index) const; 299 XMMRegister ToDoubleRegister(int index) const;
294 int ToInteger32(LConstantOperand* op) const; 300 int ToInteger32(LConstantOperand* op) const;
295 301
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 LCodeGen* codegen_; 481 LCodeGen* codegen_;
476 Label entry_; 482 Label entry_;
477 Label exit_; 483 Label exit_;
478 Label* external_exit_; 484 Label* external_exit_;
479 int instruction_index_; 485 int instruction_index_;
480 }; 486 };
481 487
482 } } // namespace v8::internal 488 } } // namespace v8::internal
483 489
484 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 490 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698