Chromium Code Reviews

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

Issue 1316933002: [es6] Initial steps towards a correct implementation of IsCallable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: ia32, arm and arm64 ports. Misc cleanups. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 849 matching lines...)
860 // It leaves the map in the map register (unless the type_reg and map register 860 // It leaves the map in the map register (unless the type_reg and map register
861 // are the same register). It leaves the heap object in the heap_object 861 // are the same register). It leaves the heap object in the heap_object
862 // register unless the heap_object register is the same register as one of the 862 // register unless the heap_object register is the same register as one of the
863 // other registers. 863 // other registers.
864 // Type_reg can be no_reg. In that case ip is used. 864 // Type_reg can be no_reg. In that case ip is used.
865 void CompareObjectType(Register heap_object, 865 void CompareObjectType(Register heap_object,
866 Register map, 866 Register map,
867 Register type_reg, 867 Register type_reg,
868 InstanceType type); 868 InstanceType type);
869 869
870 // Compare object type for heap object. Branch to false_label if type
871 // is lower than min_type or greater than max_type.
872 // Load map into the register map.
873 void CheckObjectTypeRange(Register heap_object,
874 Register map,
875 InstanceType min_type,
876 InstanceType max_type,
877 Label* false_label);
878
879 // Compare instance type in a map. map contains a valid map object whose 870 // Compare instance type in a map. map contains a valid map object whose
880 // object type should be compared with the given type. This both 871 // object type should be compared with the given type. This both
881 // sets the flags and leaves the object type in the type_reg register. 872 // sets the flags and leaves the object type in the type_reg register.
882 void CompareInstanceType(Register map, 873 void CompareInstanceType(Register map,
883 Register type_reg, 874 Register type_reg,
884 InstanceType type); 875 InstanceType type);
885 876
886 877
887 // Check if a map for a JSObject indicates that the object has fast elements. 878 // Check if a map for a JSObject indicates that the object has fast elements.
888 // Jump to the specified label if it does not. 879 // Jump to the specified label if it does not.
(...skipping 677 matching lines...)
1566 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1557 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1567 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1558 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1568 #else 1559 #else
1569 #define ACCESS_MASM(masm) masm-> 1560 #define ACCESS_MASM(masm) masm->
1570 #endif 1561 #endif
1571 1562
1572 1563
1573 } } // namespace v8::internal 1564 } } // namespace v8::internal
1574 1565
1575 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1566 #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') | src/execution.h » ('J')

Powered by Google App Engine