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

Side by Side Diff: src/ia32/macro-assembler-ia32.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/ia32/ic-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 void SafeSet(Register dst, const Immediate& x); 209 void SafeSet(Register dst, const Immediate& x);
210 void SafePush(const Immediate& x); 210 void SafePush(const Immediate& x);
211 211
212 // Compare object type for heap object. 212 // Compare object type for heap object.
213 // Incoming register is heap_object and outgoing register is map. 213 // Incoming register is heap_object and outgoing register is map.
214 void CmpObjectType(Register heap_object, InstanceType type, Register map); 214 void CmpObjectType(Register heap_object, InstanceType type, Register map);
215 215
216 // Compare instance type for map. 216 // Compare instance type for map.
217 void CmpInstanceType(Register map, InstanceType type); 217 void CmpInstanceType(Register map, InstanceType type);
218 218
219 // Check if a map for a JSObject indicates that the object has fast elements.
220 // Jump to the specified label if it does not.
221 void CheckFastElements(Register map,
222 Label* fail,
223 Label::Distance distance = Label::kFar);
224
219 // Check if the map of an object is equal to a specified map and branch to 225 // Check if the map of an object is equal to a specified map and branch to
220 // label if not. Skip the smi check if not required (object is known to be a 226 // label if not. Skip the smi check if not required (object is known to be a
221 // heap object) 227 // heap object)
222 void CheckMap(Register obj, 228 void CheckMap(Register obj,
223 Handle<Map> map, 229 Handle<Map> map,
224 Label* fail, 230 Label* fail,
225 SmiCheckType smi_check_type); 231 SmiCheckType smi_check_type);
226 232
227 // Check if the map of an object is equal to a specified map and branch to a 233 // Check if the map of an object is equal to a specified map and branch to a
228 // specified target if equal. Skip the smi check if not required (object is 234 // specified target if equal. Skip the smi check if not required (object is
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 } \ 773 } \
768 masm-> 774 masm->
769 #else 775 #else
770 #define ACCESS_MASM(masm) masm-> 776 #define ACCESS_MASM(masm) masm->
771 #endif 777 #endif
772 778
773 779
774 } } // namespace v8::internal 780 } } // namespace v8::internal
775 781
776 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 782 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698