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

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

Issue 9689010: MIPS: Properly initialize element-transitioning array literals on ARM. (Closed)
Patch Set: Created 8 years, 9 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
« no previous file with comments | « src/mips/code-stubs-mips.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 916 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 Label* fail); 927 Label* fail);
928 928
929 // Check if a map for a JSObject indicates that the object has fast smi only 929 // Check if a map for a JSObject indicates that the object has fast smi only
930 // elements. Jump to the specified label if it does not. 930 // elements. Jump to the specified label if it does not.
931 void CheckFastSmiOnlyElements(Register map, 931 void CheckFastSmiOnlyElements(Register map,
932 Register scratch, 932 Register scratch,
933 Label* fail); 933 Label* fail);
934 934
935 // Check to see if maybe_number can be stored as a double in 935 // Check to see if maybe_number can be stored as a double in
936 // FastDoubleElements. If it can, store it at the index specified by key in 936 // FastDoubleElements. If it can, store it at the index specified by key in
937 // the FastDoubleElements array elements, otherwise jump to fail. 937 // the FastDoubleElements array elements. Otherwise jump to fail, in which
938 // case scratch2, scratch3 and scratch4 are unmodified.
938 void StoreNumberToDoubleElements(Register value_reg, 939 void StoreNumberToDoubleElements(Register value_reg,
939 Register key_reg, 940 Register key_reg,
940 Register receiver_reg, 941 Register receiver_reg,
941 Register elements_reg, 942 Register elements_reg,
942 Register scratch1, 943 Register scratch1,
943 Register scratch2, 944 Register scratch2,
944 Register scratch3, 945 Register scratch3,
945 Register scratch4, 946 Register scratch4,
946 Label* fail); 947 Label* fail);
947 948
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
1474 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1475 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1475 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1476 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1476 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1477 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1477 #else 1478 #else
1478 #define ACCESS_MASM(masm) masm-> 1479 #define ACCESS_MASM(masm) masm->
1479 #endif 1480 #endif
1480 1481
1481 } } // namespace v8::internal 1482 } } // namespace v8::internal
1482 1483
1483 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1484 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698