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

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

Issue 9032005: MIPS: Avoid embedding new space objects into code objects in the lithium gap resolver. (Closed)
Patch Set: Rebased on r10334. Created 8 years, 11 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
« no previous file with comments | « no previous file | 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 DoubleRegister EmitLoadDoubleRegister(LOperand* op, 86 DoubleRegister EmitLoadDoubleRegister(LOperand* op,
87 FloatRegister flt_scratch, 87 FloatRegister flt_scratch,
88 DoubleRegister dbl_scratch); 88 DoubleRegister dbl_scratch);
89 int ToInteger32(LConstantOperand* op) const; 89 int ToInteger32(LConstantOperand* op) const;
90 double ToDouble(LConstantOperand* op) const; 90 double ToDouble(LConstantOperand* op) const;
91 Operand ToOperand(LOperand* op); 91 Operand ToOperand(LOperand* op);
92 MemOperand ToMemOperand(LOperand* op) const; 92 MemOperand ToMemOperand(LOperand* op) const;
93 // Returns a MemOperand pointing to the high word of a DoubleStackSlot. 93 // Returns a MemOperand pointing to the high word of a DoubleStackSlot.
94 MemOperand ToHighMemOperand(LOperand* op) const; 94 MemOperand ToHighMemOperand(LOperand* op) const;
95 95
96 bool IsInteger32(LConstantOperand* op) const;
97 Handle<Object> ToHandle(LConstantOperand* op) const;
98
96 // Try to generate code for the entire chunk, but it may fail if the 99 // Try to generate code for the entire chunk, but it may fail if the
97 // chunk contains constructs we cannot handle. Returns true if the 100 // chunk contains constructs we cannot handle. Returns true if the
98 // code generation attempt succeeded. 101 // code generation attempt succeeded.
99 bool GenerateCode(); 102 bool GenerateCode();
100 103
101 // Finish the code by setting stack height, safepoint, and bailout 104 // Finish the code by setting stack height, safepoint, and bailout
102 // information on it. 105 // information on it.
103 void FinishCode(Handle<Code> code); 106 void FinishCode(Handle<Code> code);
104 107
105 void DoDeferredNumberTagD(LNumberTagD* instr); 108 void DoDeferredNumberTagD(LNumberTagD* instr);
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 LCodeGen* codegen_; 436 LCodeGen* codegen_;
434 Label entry_; 437 Label entry_;
435 Label exit_; 438 Label exit_;
436 Label* external_exit_; 439 Label* external_exit_;
437 int instruction_index_; 440 int instruction_index_;
438 }; 441 };
439 442
440 } } // namespace v8::internal 443 } } // namespace v8::internal
441 444
442 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 445 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698