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

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

Issue 2280007: Extend CallIC to support non-constant names.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 6 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/x64/codegen-x64.h ('k') | src/x64/stub-cache-x64.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 __ bind(&global_proxy); 1323 __ bind(&global_proxy);
1324 __ CheckAccessGlobalProxy(rdx, rax, &miss); 1324 __ CheckAccessGlobalProxy(rdx, rax, &miss);
1325 __ jmp(&invoke); 1325 __ jmp(&invoke);
1326 1326
1327 // Cache miss: Jump to runtime. 1327 // Cache miss: Jump to runtime.
1328 __ bind(&miss); 1328 __ bind(&miss);
1329 GenerateMiss(masm, argc); 1329 GenerateMiss(masm, argc);
1330 } 1330 }
1331 1331
1332 1332
1333 void KeyedCallIC::GenerateMiss(MacroAssembler* masm, int argc) {
1334 UNREACHABLE();
1335 }
1336
1337
1338 void KeyedCallIC::GenerateMegamorphic(MacroAssembler* masm, int argc) {
1339 UNREACHABLE();
1340 }
1341
1342
1343 void KeyedCallIC::GenerateNormal(MacroAssembler* masm, int argc) {
1344 UNREACHABLE();
1345 }
1346
1347
1333 // The offset from the inlined patch site to the start of the 1348 // The offset from the inlined patch site to the start of the
1334 // inlined load instruction. 1349 // inlined load instruction.
1335 const int LoadIC::kOffsetToLoadInstruction = 20; 1350 const int LoadIC::kOffsetToLoadInstruction = 20;
1336 1351
1337 1352
1338 void LoadIC::ClearInlinedVersion(Address address) { 1353 void LoadIC::ClearInlinedVersion(Address address) {
1339 // Reset the map check of the inlined inobject property load (if 1354 // Reset the map check of the inlined inobject property load (if
1340 // present) to guarantee failure by holding an invalid map (the null 1355 // present) to guarantee failure by holding an invalid map (the null
1341 // value). The offset can be patched to anything. 1356 // value). The offset can be patched to anything.
1342 PatchInlinedLoad(address, Heap::null_value(), kMaxInt); 1357 PatchInlinedLoad(address, Heap::null_value(), kMaxInt);
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
1581 GenerateMiss(masm); 1596 GenerateMiss(masm);
1582 } 1597 }
1583 1598
1584 1599
1585 #undef __ 1600 #undef __
1586 1601
1587 1602
1588 } } // namespace v8::internal 1603 } } // namespace v8::internal
1589 1604
1590 #endif // V8_TARGET_ARCH_X64 1605 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/codegen-x64.h ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698