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

Side by Side Diff: src/x64/lithium-codegen-x64.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 | « src/safepoint-table.cc ('k') | src/x64/lithium-codegen-x64.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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 void DoMathAbs(LUnaryMathOperation* instr); 185 void DoMathAbs(LUnaryMathOperation* instr);
186 void DoMathFloor(LUnaryMathOperation* instr); 186 void DoMathFloor(LUnaryMathOperation* instr);
187 void DoMathRound(LUnaryMathOperation* instr); 187 void DoMathRound(LUnaryMathOperation* instr);
188 void DoMathSqrt(LUnaryMathOperation* instr); 188 void DoMathSqrt(LUnaryMathOperation* instr);
189 void DoMathPowHalf(LUnaryMathOperation* instr); 189 void DoMathPowHalf(LUnaryMathOperation* instr);
190 void DoMathLog(LUnaryMathOperation* instr); 190 void DoMathLog(LUnaryMathOperation* instr);
191 void DoMathCos(LUnaryMathOperation* instr); 191 void DoMathCos(LUnaryMathOperation* instr);
192 void DoMathSin(LUnaryMathOperation* instr); 192 void DoMathSin(LUnaryMathOperation* instr);
193 193
194 // Support for recording safepoint and position information. 194 // Support for recording safepoint and position information.
195 void RecordSafepoint(LPointerMap* pointers,
196 Safepoint::Kind kind,
197 int arguments,
198 int deoptimization_index);
195 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); 199 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index);
196 void RecordSafepointWithRegisters(LPointerMap* pointers, 200 void RecordSafepointWithRegisters(LPointerMap* pointers,
197 int arguments, 201 int arguments,
198 int deoptimization_index); 202 int deoptimization_index);
199 void RecordPosition(int position); 203 void RecordPosition(int position);
200 204
201 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 205 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
202 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); 206 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL);
203 void EmitBranch(int left_block, int right_block, Condition cc); 207 void EmitBranch(int left_block, int right_block, Condition cc);
204 void EmitCmpI(LOperand* left, LOperand* right); 208 void EmitCmpI(LOperand* left, LOperand* right);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 private: 272 private:
269 LCodeGen* codegen_; 273 LCodeGen* codegen_;
270 Label entry_; 274 Label entry_;
271 Label exit_; 275 Label exit_;
272 Label* external_exit_; 276 Label* external_exit_;
273 }; 277 };
274 278
275 } } // namespace v8::internal 279 } } // namespace v8::internal
276 280
277 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 281 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/safepoint-table.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698