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

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

Issue 6341008: Refactor recording of safepoints. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix presubmit. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 Operand ToOperand(LOperand* op); 216 Operand ToOperand(LOperand* op);
217 MemOperand ToMemOperand(LOperand* op) const; 217 MemOperand ToMemOperand(LOperand* op) const;
218 218
219 // Specific math operations - used from DoUnaryMathOperation. 219 // Specific math operations - used from DoUnaryMathOperation.
220 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 220 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
221 void DoMathAbs(LUnaryMathOperation* instr); 221 void DoMathAbs(LUnaryMathOperation* instr);
222 void DoMathFloor(LUnaryMathOperation* instr); 222 void DoMathFloor(LUnaryMathOperation* instr);
223 void DoMathSqrt(LUnaryMathOperation* instr); 223 void DoMathSqrt(LUnaryMathOperation* instr);
224 224
225 // Support for recording safepoint and position information. 225 // Support for recording safepoint and position information.
226 void RecordSafepoint(LPointerMap* pointers,
227 Safepoint::Kind kind,
228 int arguments,
229 int deoptimization_index);
226 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); 230 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index);
227 void RecordSafepointWithRegisters(LPointerMap* pointers, 231 void RecordSafepointWithRegisters(LPointerMap* pointers,
228 int arguments, 232 int arguments,
229 int deoptimization_index); 233 int deoptimization_index);
230 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, 234 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers,
231 int arguments, 235 int arguments,
232 int deoptimization_index); 236 int deoptimization_index);
233 void RecordPosition(int position); 237 void RecordPosition(int position);
234 238
235 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 239 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 private: 310 private:
307 LCodeGen* codegen_; 311 LCodeGen* codegen_;
308 Label entry_; 312 Label entry_;
309 Label exit_; 313 Label exit_;
310 Label* external_exit_; 314 Label* external_exit_;
311 }; 315 };
312 316
313 } } // namespace v8::internal 317 } } // namespace v8::internal
314 318
315 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 319 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698