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

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

Issue 6993057: Version 3.4.2 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 6 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 2011 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
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 // Compare instance type in a map. map contains a valid map object whose 570 // Compare instance type in a map. map contains a valid map object whose
571 // object type should be compared with the given type. This both 571 // object type should be compared with the given type. This both
572 // sets the flags and leaves the object type in the type_reg register. It 572 // sets the flags and leaves the object type in the type_reg register. It
573 // leaves the heap object in the heap_object register unless the heap_object 573 // leaves the heap object in the heap_object register unless the heap_object
574 // register is the same register as type_reg. 574 // register is the same register as type_reg.
575 void CompareInstanceType(Register map, 575 void CompareInstanceType(Register map,
576 Register type_reg, 576 Register type_reg,
577 InstanceType type); 577 InstanceType type);
578 578
579 579
580 // Check if a map for a JSObject indicates that the object has fast elements.
581 // Jump to the specified label if it does not.
582 void CheckFastElements(Register map,
583 Register scratch,
584 Label* fail);
585
580 // Check if the map of an object is equal to a specified map (either 586 // Check if the map of an object is equal to a specified map (either
581 // given directly or as an index into the root list) and branch to 587 // given directly or as an index into the root list) and branch to
582 // label if not. Skip the smi check if not required (object is known 588 // label if not. Skip the smi check if not required (object is known
583 // to be a heap object) 589 // to be a heap object)
584 void CheckMap(Register obj, 590 void CheckMap(Register obj,
585 Register scratch, 591 Register scratch,
586 Handle<Map> map, 592 Handle<Map> map,
587 Label* fail, 593 Label* fail,
588 SmiCheckType smi_check_type); 594 SmiCheckType smi_check_type);
589 595
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1124 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1119 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1125 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1120 #else 1126 #else
1121 #define ACCESS_MASM(masm) masm-> 1127 #define ACCESS_MASM(masm) masm->
1122 #endif 1128 #endif
1123 1129
1124 1130
1125 } } // namespace v8::internal 1131 } } // namespace v8::internal
1126 1132
1127 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1133 #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