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

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

Issue 15952007: Replace DeoptimizeOnUndefined with whitelisting AllowUndefinedAsNan (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Propagate through all phis Created 7 years, 6 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, 328 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers,
329 int arguments, 329 int arguments,
330 Safepoint::DeoptMode mode); 330 Safepoint::DeoptMode mode);
331 void RecordPosition(int position); 331 void RecordPosition(int position);
332 332
333 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 333 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
334 void EmitGoto(int block); 334 void EmitGoto(int block);
335 void EmitBranch(int left_block, int right_block, Condition cc); 335 void EmitBranch(int left_block, int right_block, Condition cc);
336 void EmitNumberUntagD(Register input, 336 void EmitNumberUntagD(Register input,
337 DwVfpRegister result, 337 DwVfpRegister result,
338 bool deoptimize_on_undefined, 338 bool allow_undefined_as_nan,
339 bool deoptimize_on_minus_zero, 339 bool deoptimize_on_minus_zero,
340 LEnvironment* env, 340 LEnvironment* env,
341 NumberUntagDMode mode); 341 NumberUntagDMode mode);
342 342
343 // Emits optimized code for typeof x == "y". Modifies input register. 343 // Emits optimized code for typeof x == "y". Modifies input register.
344 // Returns the condition on which a final split to 344 // Returns the condition on which a final split to
345 // true and false label should be made, to optimize fallthrough. 345 // true and false label should be made, to optimize fallthrough.
346 Condition EmitTypeofIs(Label* true_label, 346 Condition EmitTypeofIs(Label* true_label,
347 Label* false_label, 347 Label* false_label,
348 Register input, 348 Register input,
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 LCodeGen* codegen_; 505 LCodeGen* codegen_;
506 Label entry_; 506 Label entry_;
507 Label exit_; 507 Label exit_;
508 Label* external_exit_; 508 Label* external_exit_;
509 int instruction_index_; 509 int instruction_index_;
510 }; 510 };
511 511
512 } } // namespace v8::internal 512 } } // namespace v8::internal
513 513
514 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 514 #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