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

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

Issue 8960004: Avoid embedding new space objects into code objects in the lithium gap resolver. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 12 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 | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | src/ia32/lithium-codegen-ia32.h » ('J')
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 SwVfpRegister flt_scratch, 87 SwVfpRegister 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 // Deferred code support. 108 // Deferred code support.
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 LCodeGen* codegen_; 421 LCodeGen* codegen_;
419 Label entry_; 422 Label entry_;
420 Label exit_; 423 Label exit_;
421 Label* external_exit_; 424 Label* external_exit_;
422 int instruction_index_; 425 int instruction_index_;
423 }; 426 };
424 427
425 } } // namespace v8::internal 428 } } // namespace v8::internal
426 429
427 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 430 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | src/ia32/lithium-codegen-ia32.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698