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

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

Issue 9147034: Inlining Math.min and Math.max in crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Port to x64 and arm. 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 | 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 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 int arguments, 266 int arguments,
267 Safepoint::DeoptMode mode); 267 Safepoint::DeoptMode mode);
268 void RecordPosition(int position); 268 void RecordPosition(int position);
269 269
270 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 270 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
271 void EmitGoto(int block); 271 void EmitGoto(int block);
272 void EmitBranch(int left_block, int right_block, Condition cc); 272 void EmitBranch(int left_block, int right_block, Condition cc);
273 void EmitNumberUntagD(Register input, 273 void EmitNumberUntagD(Register input,
274 DoubleRegister result, 274 DoubleRegister result,
275 bool deoptimize_on_undefined, 275 bool deoptimize_on_undefined,
276 bool deoptimize_on_minus_zero,
276 LEnvironment* env); 277 LEnvironment* env);
277 278
278 // Emits optimized code for typeof x == "y". Modifies input register. 279 // Emits optimized code for typeof x == "y". Modifies input register.
279 // Returns the condition on which a final split to 280 // Returns the condition on which a final split to
280 // true and false label should be made, to optimize fallthrough. 281 // true and false label should be made, to optimize fallthrough.
281 Condition EmitTypeofIs(Label* true_label, 282 Condition EmitTypeofIs(Label* true_label,
282 Label* false_label, 283 Label* false_label,
283 Register input, 284 Register input,
284 Handle<String> type_name); 285 Handle<String> type_name);
285 286
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 LCodeGen* codegen_; 425 LCodeGen* codegen_;
425 Label entry_; 426 Label entry_;
426 Label exit_; 427 Label exit_;
427 Label* external_exit_; 428 Label* external_exit_;
428 int instruction_index_; 429 int instruction_index_;
429 }; 430 };
430 431
431 } } // namespace v8::internal 432 } } // namespace v8::internal
432 433
433 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 434 #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