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

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

Issue 9148006: [objects] seed NumberDictionary (only ia32 now) Base URL: gh:v8/v8@master
Patch Set: added test, decoupled code Created 8 years, 11 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
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 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 // Inline caching support 480 // Inline caching support
481 481
482 // Generate code for checking access rights - used for security checks 482 // Generate code for checking access rights - used for security checks
483 // on access to global objects across environments. The holder register 483 // on access to global objects across environments. The holder register
484 // is left untouched, but the scratch register is clobbered. 484 // is left untouched, but the scratch register is clobbered.
485 void CheckAccessGlobalProxy(Register holder_reg, 485 void CheckAccessGlobalProxy(Register holder_reg,
486 Register scratch, 486 Register scratch,
487 Label* miss); 487 Label* miss);
488 488
489 489
490 void GetNumberHash(Register r0, Register scratch);
491
492
490 void LoadFromNumberDictionary(Label* miss, 493 void LoadFromNumberDictionary(Label* miss,
491 Register elements, 494 Register elements,
492 Register key, 495 Register key,
493 Register r0, 496 Register r0,
494 Register r1, 497 Register r1,
495 Register r2, 498 Register r2,
496 Register result); 499 Register result);
497 500
498 501
499 // --------------------------------------------------------------------------- 502 // ---------------------------------------------------------------------------
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 } \ 940 } \
938 masm-> 941 masm->
939 #else 942 #else
940 #define ACCESS_MASM(masm) masm-> 943 #define ACCESS_MASM(masm) masm->
941 #endif 944 #endif
942 945
943 946
944 } } // namespace v8::internal 947 } } // namespace v8::internal
945 948
946 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 949 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698