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

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

Issue 7535004: Merge bleeding edge up to 8774 into the GC branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 4 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/lithium-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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 296
297 // Expression support 297 // Expression support
298 void Set(Register dst, const Immediate& x); 298 void Set(Register dst, const Immediate& x);
299 void Set(const Operand& dst, const Immediate& x); 299 void Set(const Operand& dst, const Immediate& x);
300 300
301 // Support for constant splitting. 301 // Support for constant splitting.
302 bool IsUnsafeImmediate(const Immediate& x); 302 bool IsUnsafeImmediate(const Immediate& x);
303 void SafeSet(Register dst, const Immediate& x); 303 void SafeSet(Register dst, const Immediate& x);
304 void SafePush(const Immediate& x); 304 void SafePush(const Immediate& x);
305 305
306 // Compare a register against a known root, e.g. undefined, null, true, ...
307 void CompareRoot(Register with, Heap::RootListIndex index);
308
306 // Compare object type for heap object. 309 // Compare object type for heap object.
307 // Incoming register is heap_object and outgoing register is map. 310 // Incoming register is heap_object and outgoing register is map.
308 void CmpObjectType(Register heap_object, InstanceType type, Register map); 311 void CmpObjectType(Register heap_object, InstanceType type, Register map);
309 312
310 // Compare instance type for map. 313 // Compare instance type for map.
311 void CmpInstanceType(Register map, InstanceType type); 314 void CmpInstanceType(Register map, InstanceType type);
312 315
313 // Check if a map for a JSObject indicates that the object has fast elements. 316 // Check if a map for a JSObject indicates that the object has fast elements.
314 // Jump to the specified label if it does not. 317 // Jump to the specified label if it does not.
315 void CheckFastElements(Register map, 318 void CheckFastElements(Register map,
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 } \ 907 } \
905 masm-> 908 masm->
906 #else 909 #else
907 #define ACCESS_MASM(masm) masm-> 910 #define ACCESS_MASM(masm) masm->
908 #endif 911 #endif
909 912
910 913
911 } } // namespace v8::internal 914 } } // namespace v8::internal
912 915
913 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 916 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698