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

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

Issue 18357004: Revert r15419: "Generate StoreGlobal stubs with Hydrogen" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/ia32/code-stubs-ia32.cc ('k') | src/ia32/lithium-gap-resolver-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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 bool IsX87TopOfStack(LOperand* op) const; 108 bool IsX87TopOfStack(LOperand* op) const;
109 109
110 bool IsInteger32(LConstantOperand* op) const; 110 bool IsInteger32(LConstantOperand* op) const;
111 bool IsSmi(LConstantOperand* op) const; 111 bool IsSmi(LConstantOperand* op) const;
112 Immediate ToInteger32Immediate(LOperand* op) const { 112 Immediate ToInteger32Immediate(LOperand* op) const {
113 return Immediate(ToInteger32(LConstantOperand::cast(op))); 113 return Immediate(ToInteger32(LConstantOperand::cast(op)));
114 } 114 }
115 Immediate ToSmiImmediate(LOperand* op) const { 115 Immediate ToSmiImmediate(LOperand* op) const {
116 return Immediate(Smi::FromInt(ToInteger32(LConstantOperand::cast(op)))); 116 return Immediate(Smi::FromInt(ToInteger32(LConstantOperand::cast(op))));
117 } 117 }
118 double ToDouble(LConstantOperand* op) const;
119 118
120 // Support for non-sse2 (x87) floating point stack handling. 119 // Support for non-sse2 (x87) floating point stack handling.
121 // These functions maintain the depth of the stack (either 0 or 1) 120 // These functions maintain the depth of the stack (either 0 or 1)
122 void PushX87DoubleOperand(Operand src); 121 void PushX87DoubleOperand(Operand src);
123 void PushX87FloatOperand(Operand src); 122 void PushX87FloatOperand(Operand src);
124 void ReadX87Operand(Operand dst); 123 void ReadX87Operand(Operand dst);
125 bool X87StackNonEmpty() const { return x87_stack_depth_ > 0; } 124 bool X87StackNonEmpty() const { return x87_stack_depth_ > 0; }
126 void PopX87(); 125 void PopX87();
127 void CurrentInstructionReturnsX87Result(); 126 void CurrentInstructionReturnsX87Result();
128 void FlushX87StackIfNecessary(LInstruction* instr); 127 void FlushX87StackIfNecessary(LInstruction* instr);
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); 286 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
288 void PopulateDeoptimizationData(Handle<Code> code); 287 void PopulateDeoptimizationData(Handle<Code> code);
289 int DefineDeoptimizationLiteral(Handle<Object> literal); 288 int DefineDeoptimizationLiteral(Handle<Object> literal);
290 289
291 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 290 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
292 291
293 Register ToRegister(int index) const; 292 Register ToRegister(int index) const;
294 XMMRegister ToDoubleRegister(int index) const; 293 XMMRegister ToDoubleRegister(int index) const;
295 int ToInteger32(LConstantOperand* op) const; 294 int ToInteger32(LConstantOperand* op) const;
296 295
296 double ToDouble(LConstantOperand* op) const;
297 Operand BuildFastArrayOperand(LOperand* elements_pointer, 297 Operand BuildFastArrayOperand(LOperand* elements_pointer,
298 LOperand* key, 298 LOperand* key,
299 Representation key_representation, 299 Representation key_representation,
300 ElementsKind elements_kind, 300 ElementsKind elements_kind,
301 uint32_t offset, 301 uint32_t offset,
302 uint32_t additional_index = 0); 302 uint32_t additional_index = 0);
303 303
304 void EmitIntegerMathAbs(LMathAbs* instr); 304 void EmitIntegerMathAbs(LMathAbs* instr);
305 305
306 // Support for recording safepoint and position information. 306 // Support for recording safepoint and position information.
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 LCodeGen* codegen_; 477 LCodeGen* codegen_;
478 Label entry_; 478 Label entry_;
479 Label exit_; 479 Label exit_;
480 Label* external_exit_; 480 Label* external_exit_;
481 int instruction_index_; 481 int instruction_index_;
482 }; 482 };
483 483
484 } } // namespace v8::internal 484 } } // namespace v8::internal
485 485
486 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 486 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/lithium-gap-resolver-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698