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

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

Issue 9148006: [objects] seed NumberDictionary (only ia32 now) Base URL: gh:v8/v8@master
Patch Set: fixed linter issues, use pseudo-random function in test 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
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/mips/macro-assembler-mips.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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 // Inline caching support. 399 // Inline caching support.
400 400
401 // Generate code for checking access rights - used for security checks 401 // Generate code for checking access rights - used for security checks
402 // on access to global objects across environments. The holder register 402 // on access to global objects across environments. The holder register
403 // is left untouched, whereas both scratch registers are clobbered. 403 // is left untouched, whereas both scratch registers are clobbered.
404 void CheckAccessGlobalProxy(Register holder_reg, 404 void CheckAccessGlobalProxy(Register holder_reg,
405 Register scratch, 405 Register scratch,
406 Label* miss); 406 Label* miss);
407 407
408 408
409 void GetNumberHash(Register reg0, Register scratch);
410
411
409 void LoadFromNumberDictionary(Label* miss, 412 void LoadFromNumberDictionary(Label* miss,
410 Register elements, 413 Register elements,
411 Register key, 414 Register key,
412 Register result, 415 Register result,
413 Register reg0, 416 Register reg0,
414 Register reg1, 417 Register reg1,
415 Register reg2); 418 Register reg2);
416 419
417 420
418 inline void MarkCode(NopMarkerTypes type) { 421 inline void MarkCode(NopMarkerTypes type) {
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1456 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1454 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1457 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1455 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1458 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1456 #else 1459 #else
1457 #define ACCESS_MASM(masm) masm-> 1460 #define ACCESS_MASM(masm) masm->
1458 #endif 1461 #endif
1459 1462
1460 } } // namespace v8::internal 1463 } } // namespace v8::internal
1461 1464
1462 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1465 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698