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

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

Issue 47533002: Use nearlabel AFAP in lithium codegen (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: fixed x64 assert fail Created 7 years, 1 month 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/x64/lithium-codegen-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 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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 // FastDoubleElements. If it can, store it at the index specified by index in 930 // FastDoubleElements. If it can, store it at the index specified by index in
931 // the FastDoubleElements array elements, otherwise jump to fail. Note that 931 // the FastDoubleElements array elements, otherwise jump to fail. Note that
932 // index must not be smi-tagged. 932 // index must not be smi-tagged.
933 void StoreNumberToDoubleElements(Register maybe_number, 933 void StoreNumberToDoubleElements(Register maybe_number,
934 Register elements, 934 Register elements,
935 Register index, 935 Register index,
936 XMMRegister xmm_scratch, 936 XMMRegister xmm_scratch,
937 Label* fail, 937 Label* fail,
938 int elements_offset = 0); 938 int elements_offset = 0);
939 939
940 // Compare an object's map with the specified map and its transitioned 940 // Compare an object's map with the specified map.
941 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. FLAGS are set with 941 void CompareMap(Register obj, Handle<Map> map);
942 // result of map compare. If multiple map compares are required, the compare
943 // sequences branches to early_success.
944 void CompareMap(Register obj,
945 Handle<Map> map,
946 Label* early_success);
947 942
948 // Check if the map of an object is equal to a specified map and branch to 943 // Check if the map of an object is equal to a specified map and branch to
949 // label if not. Skip the smi check if not required (object is known to be a 944 // label if not. Skip the smi check if not required (object is known to be a
950 // heap object). If mode is ALLOW_ELEMENT_TRANSITION_MAPS, then also match 945 // heap object). If mode is ALLOW_ELEMENT_TRANSITION_MAPS, then also match
951 // against maps that are ElementsKind transition maps of the specified map. 946 // against maps that are ElementsKind transition maps of the specified map.
952 void CheckMap(Register obj, 947 void CheckMap(Register obj,
953 Handle<Map> map, 948 Handle<Map> map,
954 Label* fail, 949 Label* fail,
955 SmiCheckType smi_check_type); 950 SmiCheckType smi_check_type);
956 951
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 masm->popfq(); \ 1608 masm->popfq(); \
1614 } \ 1609 } \
1615 masm-> 1610 masm->
1616 #else 1611 #else
1617 #define ACCESS_MASM(masm) masm-> 1612 #define ACCESS_MASM(masm) masm->
1618 #endif 1613 #endif
1619 1614
1620 } } // namespace v8::internal 1615 } } // namespace v8::internal
1621 1616
1622 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1617 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698