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

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

Issue 7227010: Create and use shared stub for for DictionaryValue-based elements. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: more arm fixes Created 9 years, 5 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 // Inline caching support 345 // Inline caching support
346 346
347 // Generate code for checking access rights - used for security checks 347 // Generate code for checking access rights - used for security checks
348 // on access to global objects across environments. The holder register 348 // on access to global objects across environments. The holder register
349 // is left untouched, but the scratch register is clobbered. 349 // is left untouched, but the scratch register is clobbered.
350 void CheckAccessGlobalProxy(Register holder_reg, 350 void CheckAccessGlobalProxy(Register holder_reg,
351 Register scratch, 351 Register scratch,
352 Label* miss); 352 Label* miss);
353 353
354 354
355 void LoadFromNumberDictionary(Label* miss,
356 Register elements,
357 Register key,
358 Register r0,
359 Register r1,
360 Register r2,
361 Register result);
362
363
355 // --------------------------------------------------------------------------- 364 // ---------------------------------------------------------------------------
356 // Allocation support 365 // Allocation support
357 366
358 // Allocate an object in new space. If the new space is exhausted control 367 // Allocate an object in new space. If the new space is exhausted control
359 // continues at the gc_required label. The allocated object is returned in 368 // continues at the gc_required label. The allocated object is returned in
360 // result and end of the new object is returned in result_end. The register 369 // result and end of the new object is returned in result_end. The register
361 // scratch can be passed as no_reg in which case an additional object 370 // scratch can be passed as no_reg in which case an additional object
362 // reference will be added to the reloc info. The returned pointers in result 371 // reference will be added to the reloc info. The returned pointers in result
363 // and result_end have not yet been tagged as heap objects. If 372 // and result_end have not yet been tagged as heap objects. If
364 // result_contains_top_on_entry is true the content of result is known to be 373 // result_contains_top_on_entry is true the content of result is known to be
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 } \ 796 } \
788 masm-> 797 masm->
789 #else 798 #else
790 #define ACCESS_MASM(masm) masm-> 799 #define ACCESS_MASM(masm) masm->
791 #endif 800 #endif
792 801
793 802
794 } } // namespace v8::internal 803 } } // namespace v8::internal
795 804
796 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 805 #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