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

Side by Side Diff: src/a64/stub-cache-a64.cc

Issue 139973004: A64: Synchronize with r15814. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/a64/macro-assembler-a64.cc ('k') | src/accessors.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 Register StubCompiler::CheckPrototypes(Handle<JSObject> object, 1198 Register StubCompiler::CheckPrototypes(Handle<JSObject> object,
1199 Register object_reg, 1199 Register object_reg,
1200 Handle<JSObject> holder, 1200 Handle<JSObject> holder,
1201 Register holder_reg, 1201 Register holder_reg,
1202 Register scratch1, 1202 Register scratch1,
1203 Register scratch2, 1203 Register scratch2,
1204 Handle<Name> name, 1204 Handle<Name> name,
1205 int save_at_depth, 1205 int save_at_depth,
1206 Label* miss, 1206 Label* miss,
1207 PrototypeCheckType check) { 1207 PrototypeCheckType check) {
1208 // Make sure that the type feedback oracle harvests the receiver map.
1209 // TODO(svenpanne) Remove this hack when all ICs are reworked.
1210 __ Mov(scratch1, Operand(Handle<Map>(object->map())));
1211
1208 Handle<JSObject> first = object; 1212 Handle<JSObject> first = object;
1209 1213
1210 // object_reg and holder_reg registers can alias. 1214 // object_reg and holder_reg registers can alias.
1211 ASSERT(!AreAliased(object_reg, scratch1, scratch2)); 1215 ASSERT(!AreAliased(object_reg, scratch1, scratch2));
1212 ASSERT(!AreAliased(holder_reg, scratch1, scratch2)); 1216 ASSERT(!AreAliased(holder_reg, scratch1, scratch2));
1213 1217
1214 // Keep track of the current object in register reg. 1218 // Keep track of the current object in register reg.
1215 Register reg = object_reg; 1219 Register reg = object_reg;
1216 int depth = 0; 1220 int depth = 0;
1217 1221
(...skipping 2538 matching lines...) Expand 10 before | Expand all | Expand 10 after
3756 // ----------- S t a t e ------------- 3760 // ----------- S t a t e -------------
3757 3761
3758 GenerateStoreFastSmiOrDoubleElement(masm, is_js_array, FAST_DOUBLE_ELEMENTS, 3762 GenerateStoreFastSmiOrDoubleElement(masm, is_js_array, FAST_DOUBLE_ELEMENTS,
3759 store_mode, true); 3763 store_mode, true);
3760 } 3764 }
3761 3765
3762 3766
3763 } } // namespace v8::internal 3767 } } // namespace v8::internal
3764 3768
3765 #endif // V8_TARGET_ARCH_A64 3769 #endif // V8_TARGET_ARCH_A64
OLDNEW
« no previous file with comments | « src/a64/macro-assembler-a64.cc ('k') | src/accessors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698