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

Side by Side Diff: src/arm/macro-assembler-arm.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/arm/ic-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 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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 } 784 }
785 // Jump if either of the registers contain a non-smi. 785 // Jump if either of the registers contain a non-smi.
786 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); 786 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi);
787 // Jump if either of the registers contain a smi. 787 // Jump if either of the registers contain a smi.
788 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); 788 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi);
789 789
790 // Abort execution if argument is a smi. Used in debug code. 790 // Abort execution if argument is a smi. Used in debug code.
791 void AbortIfSmi(Register object); 791 void AbortIfSmi(Register object);
792 void AbortIfNotSmi(Register object); 792 void AbortIfNotSmi(Register object);
793 793
794 // Abort execution if argument is a string. Used in debug code.
795 void AbortIfNotString(Register object);
796
794 // Abort execution if argument is not the root value with the given index. 797 // Abort execution if argument is not the root value with the given index.
795 void AbortIfNotRootValue(Register src, 798 void AbortIfNotRootValue(Register src,
796 Heap::RootListIndex root_value_index, 799 Heap::RootListIndex root_value_index,
797 const char* message); 800 const char* message);
798 801
799 // --------------------------------------------------------------------------- 802 // ---------------------------------------------------------------------------
800 // HeapNumber utilities 803 // HeapNumber utilities
801 804
802 void JumpIfNotHeapNumber(Register object, 805 void JumpIfNotHeapNumber(Register object,
803 Register heap_number_map, 806 Register heap_number_map,
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 944 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
942 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 945 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
943 #else 946 #else
944 #define ACCESS_MASM(masm) masm-> 947 #define ACCESS_MASM(masm) masm->
945 #endif 948 #endif
946 949
947 950
948 } } // namespace v8::internal 951 } } // namespace v8::internal
949 952
950 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 953 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698