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

Side by Side Diff: src/arm/ic-arm.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/arm/codegen-arm.h ('k') | src/arm/stub-cache-arm.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 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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 __ ldr(r2, FieldMemOperand(r2, GlobalObject::kGlobalReceiverOffset)); 489 __ ldr(r2, FieldMemOperand(r2, GlobalObject::kGlobalReceiverOffset));
490 __ str(r2, MemOperand(sp, argc * kPointerSize)); 490 __ str(r2, MemOperand(sp, argc * kPointerSize));
491 491
492 // Invoke the function. 492 // Invoke the function.
493 ParameterCount actual(argc); 493 ParameterCount actual(argc);
494 __ bind(&invoke); 494 __ bind(&invoke);
495 __ InvokeFunction(r1, actual, JUMP_FUNCTION); 495 __ InvokeFunction(r1, actual, JUMP_FUNCTION);
496 } 496 }
497 497
498 498
499 void KeyedCallIC::GenerateMiss(MacroAssembler* masm, int argc) {
500 UNREACHABLE();
501 }
502
503
504 void KeyedCallIC::GenerateMegamorphic(MacroAssembler* masm, int argc) {
505 UNREACHABLE();
506 }
507
508
509 void KeyedCallIC::GenerateNormal(MacroAssembler* masm, int argc) {
510 UNREACHABLE();
511 }
512
513
499 // Defined in ic.cc. 514 // Defined in ic.cc.
500 Object* LoadIC_Miss(Arguments args); 515 Object* LoadIC_Miss(Arguments args);
501 516
502 void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { 517 void LoadIC::GenerateMegamorphic(MacroAssembler* masm) {
503 // ----------- S t a t e ------------- 518 // ----------- S t a t e -------------
504 // -- r2 : name 519 // -- r2 : name
505 // -- lr : return address 520 // -- lr : return address
506 // -- r0 : receiver 521 // -- r0 : receiver
507 // -- sp[0] : receiver 522 // -- sp[0] : receiver
508 // ----------------------------------- 523 // -----------------------------------
(...skipping 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after
1925 GenerateMiss(masm); 1940 GenerateMiss(masm);
1926 } 1941 }
1927 1942
1928 1943
1929 #undef __ 1944 #undef __
1930 1945
1931 1946
1932 } } // namespace v8::internal 1947 } } // namespace v8::internal
1933 1948
1934 #endif // V8_TARGET_ARCH_ARM 1949 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.h ('k') | src/arm/stub-cache-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698