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

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

Issue 9316131: Properly initialize element-transitioning array literals on ARM. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 8 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/code-stubs-arm.cc ('k') | no next file » | 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 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 Label* fail); 796 Label* fail);
797 797
798 // Check if a map for a JSObject indicates that the object has fast smi only 798 // Check if a map for a JSObject indicates that the object has fast smi only
799 // elements. Jump to the specified label if it does not. 799 // elements. Jump to the specified label if it does not.
800 void CheckFastSmiOnlyElements(Register map, 800 void CheckFastSmiOnlyElements(Register map,
801 Register scratch, 801 Register scratch,
802 Label* fail); 802 Label* fail);
803 803
804 // Check to see if maybe_number can be stored as a double in 804 // Check to see if maybe_number can be stored as a double in
805 // FastDoubleElements. If it can, store it at the index specified by key in 805 // FastDoubleElements. If it can, store it at the index specified by key in
806 // the FastDoubleElements array elements, otherwise jump to fail. 806 // the FastDoubleElements array elements. Otherwise jump to fail, in which
807 // case scratch2, scratch3 and scratch4 are unmodified.
807 void StoreNumberToDoubleElements(Register value_reg, 808 void StoreNumberToDoubleElements(Register value_reg,
808 Register key_reg, 809 Register key_reg,
809 Register receiver_reg, 810 Register receiver_reg,
810 Register elements_reg, 811 Register elements_reg,
811 Register scratch1, 812 Register scratch1,
812 Register scratch2, 813 Register scratch2,
813 Register scratch3, 814 Register scratch3,
814 Register scratch4, 815 Register scratch4,
815 Label* fail); 816 Label* fail);
816 817
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1371 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1371 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1372 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1372 #else 1373 #else
1373 #define ACCESS_MASM(masm) masm-> 1374 #define ACCESS_MASM(masm) masm->
1374 #endif 1375 #endif
1375 1376
1376 1377
1377 } } // namespace v8::internal 1378 } } // namespace v8::internal
1378 1379
1379 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1380 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698