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

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

Issue 8983027: Rollback 10331: Make sure transitioned arrays efficiently call builtin Array functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 11 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/lithium-codegen-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2011 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
11 // with the distribution. 11 // with the distribution.
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 void StoreNumberToDoubleElements(Register value_reg, 783 void StoreNumberToDoubleElements(Register value_reg,
784 Register key_reg, 784 Register key_reg,
785 Register receiver_reg, 785 Register receiver_reg,
786 Register elements_reg, 786 Register elements_reg,
787 Register scratch1, 787 Register scratch1,
788 Register scratch2, 788 Register scratch2,
789 Register scratch3, 789 Register scratch3,
790 Register scratch4, 790 Register scratch4,
791 Label* fail); 791 Label* fail);
792 792
793 // Compare an object's map with the specified map and its transitioned 793 // Check if the map of an object is equal to a specified map (either
794 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. Condition flags are 794 // given directly or as an index into the root list) and branch to
795 // set with result of map compare. If multiple map compares are required, the 795 // label if not. Skip the smi check if not required (object is known
796 // compare sequences branches to early_success. 796 // to be a heap object)
797 void CompareMap(Register obj,
798 Register scratch,
799 Handle<Map> map,
800 Label* early_success,
801 CompareMapMode mode = REQUIRE_EXACT_MAP);
802
803 // Check if the map of an object is equal to a specified map and branch to
804 // label if not. Skip the smi check if not required (object is known to be a
805 // heap object). If mode is ALLOW_ELEMENT_TRANSITION_MAPS, then also match
806 // against maps that are ElementsKind transition maps of the specificed map.
807 void CheckMap(Register obj, 797 void CheckMap(Register obj,
808 Register scratch, 798 Register scratch,
809 Handle<Map> map, 799 Handle<Map> map,
810 Label* fail, 800 Label* fail,
811 SmiCheckType smi_check_type, 801 SmiCheckType smi_check_type);
812 CompareMapMode mode = REQUIRE_EXACT_MAP);
813 802
814 803
815 void CheckMap(Register obj, 804 void CheckMap(Register obj,
816 Register scratch, 805 Register scratch,
817 Heap::RootListIndex index, 806 Heap::RootListIndex index,
818 Label* fail, 807 Label* fail,
819 SmiCheckType smi_check_type); 808 SmiCheckType smi_check_type);
820 809
821 810
822 // Check if the map of an object is equal to a specified map and branch to a 811 // Check if the map of an object is equal to a specified map and branch to a
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1326 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1338 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1327 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1339 #else 1328 #else
1340 #define ACCESS_MASM(masm) masm-> 1329 #define ACCESS_MASM(masm) masm->
1341 #endif 1330 #endif
1342 1331
1343 1332
1344 } } // namespace v8::internal 1333 } } // namespace v8::internal
1345 1334
1346 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1335 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698