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

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

Issue 18083004: MIPS: The check for internalized strings relied on the fact that we had less than 64 distinct Insta… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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/mips/ic-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1399 Register scratch1, 1399 Register scratch1,
1400 Register scratch2, 1400 Register scratch2,
1401 Label* failure); 1401 Label* failure);
1402 1402
1403 // Check if instance type is sequential ASCII string and jump to label if 1403 // Check if instance type is sequential ASCII string and jump to label if
1404 // it is not. 1404 // it is not.
1405 void JumpIfInstanceTypeIsNotSequentialAscii(Register type, 1405 void JumpIfInstanceTypeIsNotSequentialAscii(Register type,
1406 Register scratch, 1406 Register scratch,
1407 Label* failure); 1407 Label* failure);
1408 1408
1409 void JumpIfNotUniqueName(Register reg, Label* not_unique_name);
1410
1409 // Test that both first and second are sequential ASCII strings. 1411 // Test that both first and second are sequential ASCII strings.
1410 // Assume that they are non-smis. 1412 // Assume that they are non-smis.
1411 void JumpIfNonSmisNotBothSequentialAsciiStrings(Register first, 1413 void JumpIfNonSmisNotBothSequentialAsciiStrings(Register first,
1412 Register second, 1414 Register second,
1413 Register scratch1, 1415 Register scratch1,
1414 Register scratch2, 1416 Register scratch2,
1415 Label* failure); 1417 Label* failure);
1416 1418
1417 // Test that both first and second are sequential ASCII strings. 1419 // Test that both first and second are sequential ASCII strings.
1418 // Check that they are non-smis. 1420 // Check that they are non-smis.
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1585 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1587 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1586 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1588 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1587 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1589 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1588 #else 1590 #else
1589 #define ACCESS_MASM(masm) masm-> 1591 #define ACCESS_MASM(masm) masm->
1590 #endif 1592 #endif
1591 1593
1592 } } // namespace v8::internal 1594 } } // namespace v8::internal
1593 1595
1594 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1596 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/ic-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698