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

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

Issue 5140002: Generate inline code for contextual loads on ARM.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 1 month 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
« src/arm/ic-arm.cc ('K') | « src/arm/ic-arm.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 // Inline caching support 313 // Inline caching support
314 314
315 // Generate code for checking access rights - used for security checks 315 // Generate code for checking access rights - used for security checks
316 // on access to global objects across environments. The holder register 316 // on access to global objects across environments. The holder register
317 // is left untouched, whereas both scratch registers are clobbered. 317 // is left untouched, whereas both scratch registers are clobbered.
318 void CheckAccessGlobalProxy(Register holder_reg, 318 void CheckAccessGlobalProxy(Register holder_reg,
319 Register scratch, 319 Register scratch,
320 Label* miss); 320 Label* miss);
321 321
322 322
323 inline void MarkCode(NopMarkerTypes type) {
324 nop(type);
325 }
326
327
328 static inline bool IsMarkedCode(Instr instr, NopMarkerTypes type) {
329 return IsNop(instr, type);
330 }
331
332
323 // --------------------------------------------------------------------------- 333 // ---------------------------------------------------------------------------
324 // Allocation support 334 // Allocation support
325 335
326 // Allocate an object in new space. The object_size is specified in words (not 336 // Allocate an object in new space. The object_size is specified in words (not
327 // bytes). If the new space is exhausted control continues at the gc_required 337 // bytes). If the new space is exhausted control continues at the gc_required
328 // label. The allocated object is returned in result. If the flag 338 // label. The allocated object is returned in result. If the flag
329 // tag_allocated_object is true the result is tagged as as a heap object. All 339 // tag_allocated_object is true the result is tagged as as a heap object. All
330 // registers are clobbered also when control continues at the gc_required 340 // registers are clobbered also when control continues at the gc_required
331 // label. 341 // label.
332 void AllocateInNewSpace(int object_size, 342 void AllocateInNewSpace(int object_size,
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 753 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
744 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 754 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
745 #else 755 #else
746 #define ACCESS_MASM(masm) masm-> 756 #define ACCESS_MASM(masm) masm->
747 #endif 757 #endif
748 758
749 759
750 } } // namespace v8::internal 760 } } // namespace v8::internal
751 761
752 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 762 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« src/arm/ic-arm.cc ('K') | « src/arm/ic-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698