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

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

Issue 10442015: Rollback of r11638, r11636 on trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 7 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/mips/lithium-mips.cc ('k') | src/mips/macro-assembler-mips.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 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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 void LoadTransitionedArrayMapConditional( 812 void LoadTransitionedArrayMapConditional(
813 ElementsKind expected_kind, 813 ElementsKind expected_kind,
814 ElementsKind transitioned_kind, 814 ElementsKind transitioned_kind,
815 Register map_in_out, 815 Register map_in_out,
816 Register scratch, 816 Register scratch,
817 Label* no_map_match); 817 Label* no_map_match);
818 818
819 // Load the initial map for new Arrays from a JSFunction. 819 // Load the initial map for new Arrays from a JSFunction.
820 void LoadInitialArrayMap(Register function_in, 820 void LoadInitialArrayMap(Register function_in,
821 Register scratch, 821 Register scratch,
822 Register map_out, 822 Register map_out);
823 bool can_have_holes);
824 823
825 void LoadGlobalFunction(int index, Register function); 824 void LoadGlobalFunction(int index, Register function);
826 825
827 // Load the initial map from the global function. The registers 826 // Load the initial map from the global function. The registers
828 // function and map can be the same, function is then overwritten. 827 // function and map can be the same, function is then overwritten.
829 void LoadGlobalFunctionInitialMap(Register function, 828 void LoadGlobalFunctionInitialMap(Register function,
830 Register map, 829 Register map,
831 Register scratch); 830 Register scratch);
832 831
833 void InitializeRootRegister() { 832 void InitializeRootRegister() {
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
955 Label* fail); 954 Label* fail);
956 955
957 // Check if a map for a JSObject indicates that the object can have both smi 956 // Check if a map for a JSObject indicates that the object can have both smi
958 // and HeapObject elements. Jump to the specified label if it does not. 957 // and HeapObject elements. Jump to the specified label if it does not.
959 void CheckFastObjectElements(Register map, 958 void CheckFastObjectElements(Register map,
960 Register scratch, 959 Register scratch,
961 Label* fail); 960 Label* fail);
962 961
963 // Check if a map for a JSObject indicates that the object has fast smi only 962 // Check if a map for a JSObject indicates that the object has fast smi only
964 // elements. Jump to the specified label if it does not. 963 // elements. Jump to the specified label if it does not.
965 void CheckFastSmiElements(Register map, 964 void CheckFastSmiOnlyElements(Register map,
966 Register scratch, 965 Register scratch,
967 Label* fail); 966 Label* fail);
968 967
969 // Check to see if maybe_number can be stored as a double in 968 // Check to see if maybe_number can be stored as a double in
970 // FastDoubleElements. If it can, store it at the index specified by key in 969 // FastDoubleElements. If it can, store it at the index specified by key in
971 // the FastDoubleElements array elements. Otherwise jump to fail, in which 970 // the FastDoubleElements array elements. Otherwise jump to fail, in which
972 // case scratch2, scratch3 and scratch4 are unmodified. 971 // case scratch2, scratch3 and scratch4 are unmodified.
973 void StoreNumberToDoubleElements(Register value_reg, 972 void StoreNumberToDoubleElements(Register value_reg,
974 Register key_reg, 973 Register key_reg,
975 Register receiver_reg, 974 Register receiver_reg,
976 Register elements_reg, 975 Register elements_reg,
977 Register scratch1, 976 Register scratch1,
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1523 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1525 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1524 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1526 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1525 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1527 #else 1526 #else
1528 #define ACCESS_MASM(masm) masm-> 1527 #define ACCESS_MASM(masm) masm->
1529 #endif 1528 #endif
1530 1529
1531 } } // namespace v8::internal 1530 } } // namespace v8::internal
1532 1531
1533 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1532 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698