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

Side by Side Diff: src/x87/macro-assembler-x87.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, 3 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/x87/code-stubs-x87.cc ('k') | src/x87/macro-assembler-x87.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_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 Register instance_type, Register scratch, 882 Register instance_type, Register scratch,
883 Label* on_not_flat_one_byte_string); 883 Label* on_not_flat_one_byte_string);
884 884
885 // Checks if both objects are sequential one-byte strings, and jumps to label 885 // Checks if both objects are sequential one-byte strings, and jumps to label
886 // if either is not. 886 // if either is not.
887 void JumpIfNotBothSequentialOneByteStrings( 887 void JumpIfNotBothSequentialOneByteStrings(
888 Register object1, Register object2, Register scratch1, Register scratch2, 888 Register object1, Register object2, Register scratch1, Register scratch2,
889 Label* on_not_flat_one_byte_strings); 889 Label* on_not_flat_one_byte_strings);
890 890
891 // Checks if the given register or operand is a unique name 891 // Checks if the given register or operand is a unique name
892 void JumpIfNotUniqueName(Register reg, Label* not_unique_name, 892 void JumpIfNotUniqueNameInstanceType(Register reg, Label* not_unique_name,
893 Label::Distance distance = Label::kFar) { 893 Label::Distance distance = Label::kFar) {
894 JumpIfNotUniqueName(Operand(reg), not_unique_name, distance); 894 JumpIfNotUniqueNameInstanceType(Operand(reg), not_unique_name, distance);
895 } 895 }
896 896
897 void JumpIfNotUniqueName(Operand operand, Label* not_unique_name, 897 void JumpIfNotUniqueNameInstanceType(Operand operand, Label* not_unique_name,
898 Label::Distance distance = Label::kFar); 898 Label::Distance distance = Label::kFar);
899 899
900 void EmitSeqStringSetCharCheck(Register string, 900 void EmitSeqStringSetCharCheck(Register string,
901 Register index, 901 Register index,
902 Register value, 902 Register value,
903 uint32_t encoding_mask); 903 uint32_t encoding_mask);
904 904
905 static int SafepointRegisterStackIndex(Register reg) { 905 static int SafepointRegisterStackIndex(Register reg) {
906 return SafepointRegisterStackIndex(reg.code()); 906 return SafepointRegisterStackIndex(reg.code());
907 } 907 }
908 908
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 } \ 1076 } \
1077 masm-> 1077 masm->
1078 #else 1078 #else
1079 #define ACCESS_MASM(masm) masm-> 1079 #define ACCESS_MASM(masm) masm->
1080 #endif 1080 #endif
1081 1081
1082 1082
1083 } } // namespace v8::internal 1083 } } // namespace v8::internal
1084 1084
1085 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1085 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698