OLD | NEW |
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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 // --------------------------------------------------------------------------- | 398 // --------------------------------------------------------------------------- |
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 | |
409 void GetNumberHash(Register reg0, Register scratch); | 408 void GetNumberHash(Register reg0, Register scratch); |
410 | 409 |
411 | |
412 void LoadFromNumberDictionary(Label* miss, | 410 void LoadFromNumberDictionary(Label* miss, |
413 Register elements, | 411 Register elements, |
414 Register key, | 412 Register key, |
415 Register result, | 413 Register result, |
416 Register reg0, | 414 Register reg0, |
417 Register reg1, | 415 Register reg1, |
418 Register reg2); | 416 Register reg2); |
419 | 417 |
420 | 418 |
421 inline void MarkCode(NopMarkerTypes type) { | 419 inline void MarkCode(NopMarkerTypes type) { |
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1456 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1454 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1457 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1455 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1458 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1456 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1459 #else | 1457 #else |
1460 #define ACCESS_MASM(masm) masm-> | 1458 #define ACCESS_MASM(masm) masm-> |
1461 #endif | 1459 #endif |
1462 | 1460 |
1463 } } // namespace v8::internal | 1461 } } // namespace v8::internal |
1464 | 1462 |
1465 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1463 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |