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

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

Issue 592113002: Fix method dispatch in Keyed/StoreIC, and JumpIfNotUniqueName usage (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/code-stubs-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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1476 // label if either is not. 1476 // label if either is not.
1477 void JumpIfBothInstanceTypesAreNotSequentialOneByte( 1477 void JumpIfBothInstanceTypesAreNotSequentialOneByte(
1478 Register first_object_instance_type, Register second_object_instance_type, 1478 Register first_object_instance_type, Register second_object_instance_type,
1479 Register scratch1, Register scratch2, Label* failure); 1479 Register scratch1, Register scratch2, Label* failure);
1480 1480
1481 // Check if instance type is sequential one-byte string and jump to label if 1481 // Check if instance type is sequential one-byte string and jump to label if
1482 // it is not. 1482 // it is not.
1483 void JumpIfInstanceTypeIsNotSequentialOneByte(Register type, Register scratch, 1483 void JumpIfInstanceTypeIsNotSequentialOneByte(Register type, Register scratch,
1484 Label* failure); 1484 Label* failure);
1485 1485
1486 void JumpIfNotUniqueName(Register reg, Label* not_unique_name); 1486 void JumpIfNotUniqueNameInstanceType(Register reg, Label* not_unique_name);
1487 1487
1488 void EmitSeqStringSetCharCheck(Register string, 1488 void EmitSeqStringSetCharCheck(Register string,
1489 Register index, 1489 Register index,
1490 Register value, 1490 Register value,
1491 Register scratch, 1491 Register scratch,
1492 uint32_t encoding_mask); 1492 uint32_t encoding_mask);
1493 1493
1494 // Checks if both objects are sequential one-byte strings and jumps to label 1494 // Checks if both objects are sequential one-byte strings and jumps to label
1495 // if either is not. Assumes that neither object is a smi. 1495 // if either is not. Assumes that neither object is a smi.
1496 void JumpIfNonSmisNotBothSequentialOneByteStrings(Register first, 1496 void JumpIfNonSmisNotBothSequentialOneByteStrings(Register first,
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1710 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1711 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1711 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1712 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1712 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1713 #else 1713 #else
1714 #define ACCESS_MASM(masm) masm-> 1714 #define ACCESS_MASM(masm) masm->
1715 #endif 1715 #endif
1716 1716
1717 } } // namespace v8::internal 1717 } } // namespace v8::internal
1718 1718
1719 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1719 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698