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

Side by Side Diff: src/arm/ic-arm.cc

Issue 155459: Put the work-around for http://crbug.com/16276 into the ARM port as... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 __ ldr(r3, FieldMemOperand(t0, Map::kInstanceAttributesOffset)); 70 __ ldr(r3, FieldMemOperand(t0, Map::kInstanceAttributesOffset));
71 __ tst(r3, Operand(1 << (Map::kHasNamedInterceptor + (3 * 8)))); 71 __ tst(r3, Operand(1 << (Map::kHasNamedInterceptor + (3 * 8))));
72 // Jump to miss if the interceptor bit is set. 72 // Jump to miss if the interceptor bit is set.
73 __ b(ne, miss); 73 __ b(ne, miss);
74 74
75 // Bail out if we have a JS global proxy object. 75 // Bail out if we have a JS global proxy object.
76 __ ldrb(r3, FieldMemOperand(t0, Map::kInstanceTypeOffset)); 76 __ ldrb(r3, FieldMemOperand(t0, Map::kInstanceTypeOffset));
77 __ cmp(r3, Operand(JS_GLOBAL_PROXY_TYPE)); 77 __ cmp(r3, Operand(JS_GLOBAL_PROXY_TYPE));
78 __ b(eq, miss); 78 __ b(eq, miss);
79 79
80 // Possible work-around for http://crbug.com/16276.
81 __ cmp(r3, Operand(JS_GLOBAL_OBJECT_TYPE));
82 __ b(eq, miss);
83 __ cmp(r3, Operand(JS_BUILTINS_OBJECT_TYPE));
84 __ b(eq, miss);
85
80 // Check that the properties array is a dictionary. 86 // Check that the properties array is a dictionary.
81 __ ldr(t0, FieldMemOperand(t1, JSObject::kPropertiesOffset)); 87 __ ldr(t0, FieldMemOperand(t1, JSObject::kPropertiesOffset));
82 __ ldr(r3, FieldMemOperand(t0, HeapObject::kMapOffset)); 88 __ ldr(r3, FieldMemOperand(t0, HeapObject::kMapOffset));
83 __ cmp(r3, Operand(Factory::hash_table_map())); 89 __ cmp(r3, Operand(Factory::hash_table_map()));
84 __ b(ne, miss); 90 __ b(ne, miss);
85 91
86 // Compute the capacity mask. 92 // Compute the capacity mask.
87 const int kCapacityOffset = 93 const int kCapacityOffset =
88 Array::kHeaderSize + StringDictionary::kCapacityIndex * kPointerSize; 94 Array::kHeaderSize + StringDictionary::kCapacityIndex * kPointerSize;
89 __ ldr(r3, FieldMemOperand(t0, kCapacityOffset)); 95 __ ldr(r3, FieldMemOperand(t0, kCapacityOffset));
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 807
802 // Perform tail call to the entry. 808 // Perform tail call to the entry.
803 __ TailCallRuntime(f, 3); 809 __ TailCallRuntime(f, 3);
804 } 810 }
805 811
806 812
807 #undef __ 813 #undef __
808 814
809 815
810 } } // namespace v8::internal 816 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698