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

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

Issue 6517010: Fix a potential crash bug in keyed calls for non-string keys. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 10 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/x64/ic-x64.cc ('k') | src/x64/macro-assembler-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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 654
655 // Abort execution if argument is not a number. Used in debug code. 655 // Abort execution if argument is not a number. Used in debug code.
656 void AbortIfNotNumber(Register object); 656 void AbortIfNotNumber(Register object);
657 657
658 // Abort execution if argument is a smi. Used in debug code. 658 // Abort execution if argument is a smi. Used in debug code.
659 void AbortIfSmi(Register object); 659 void AbortIfSmi(Register object);
660 660
661 // Abort execution if argument is not a smi. Used in debug code. 661 // Abort execution if argument is not a smi. Used in debug code.
662 void AbortIfNotSmi(Register object); 662 void AbortIfNotSmi(Register object);
663 663
664 // Abort execution if argument is a string. Used in debug code.
665 void AbortIfNotString(Register object);
666
664 // Abort execution if argument is not the root value with the given index. 667 // Abort execution if argument is not the root value with the given index.
665 void AbortIfNotRootValue(Register src, 668 void AbortIfNotRootValue(Register src,
666 Heap::RootListIndex root_value_index, 669 Heap::RootListIndex root_value_index,
667 const char* message); 670 const char* message);
668 671
669 // --------------------------------------------------------------------------- 672 // ---------------------------------------------------------------------------
670 // Exception handling 673 // Exception handling
671 674
672 // Push a new try handler and link into try handler chain. The return 675 // Push a new try handler and link into try handler chain. The return
673 // address must be pushed before calling this helper. 676 // address must be pushed before calling this helper.
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1799 Jump(adaptor, RelocInfo::CODE_TARGET); 1802 Jump(adaptor, RelocInfo::CODE_TARGET);
1800 } 1803 }
1801 bind(&invoke); 1804 bind(&invoke);
1802 } 1805 }
1803 } 1806 }
1804 1807
1805 1808
1806 } } // namespace v8::internal 1809 } } // namespace v8::internal
1807 1810
1808 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1811 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/ic-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698