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

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 3117006: Handle overwriting valueOf on String objects correctly when adding... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 4 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/arm/full-codegen-arm.cc ('k') | src/arm/macro-assembler-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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 bool allow_stub_calls() { return allow_stub_calls_; } 611 bool allow_stub_calls() { return allow_stub_calls_; }
612 612
613 // --------------------------------------------------------------------------- 613 // ---------------------------------------------------------------------------
614 // Smi utilities 614 // Smi utilities
615 615
616 // Jump if either of the registers contain a non-smi. 616 // Jump if either of the registers contain a non-smi.
617 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); 617 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi);
618 // Jump if either of the registers contain a smi. 618 // Jump if either of the registers contain a smi.
619 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); 619 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi);
620 620
621 // Abort execution if argument is a smi. Used in debug code.
622 void AbortIfSmi(Register object);
623
621 // --------------------------------------------------------------------------- 624 // ---------------------------------------------------------------------------
622 // String utilities 625 // String utilities
623 626
624 // Checks if both objects are sequential ASCII strings and jumps to label 627 // Checks if both objects are sequential ASCII strings and jumps to label
625 // if either is not. Assumes that neither object is a smi. 628 // if either is not. Assumes that neither object is a smi.
626 void JumpIfNonSmisNotBothSequentialAsciiStrings(Register object1, 629 void JumpIfNonSmisNotBothSequentialAsciiStrings(Register object1,
627 Register object2, 630 Register object2,
628 Register scratch1, 631 Register scratch1,
629 Register scratch2, 632 Register scratch2,
630 Label* failure); 633 Label* failure);
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 723 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
721 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 724 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
722 #else 725 #else
723 #define ACCESS_MASM(masm) masm-> 726 #define ACCESS_MASM(masm) masm->
724 #endif 727 #endif
725 728
726 729
727 } } // namespace v8::internal 730 } } // namespace v8::internal
728 731
729 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 732 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698