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

Side by Side Diff: src/builtins.cc

Issue 521041: Improve keyed loads on strings by using a new stub (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 11 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/builtins.h ('k') | src/ia32/ic-ia32.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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 static void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { 537 static void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) {
538 KeyedLoadIC::GenerateMiss(masm); 538 KeyedLoadIC::GenerateMiss(masm);
539 } 539 }
540 540
541 541
542 static void Generate_KeyedLoadIC_Generic(MacroAssembler* masm) { 542 static void Generate_KeyedLoadIC_Generic(MacroAssembler* masm) {
543 KeyedLoadIC::GenerateGeneric(masm); 543 KeyedLoadIC::GenerateGeneric(masm);
544 } 544 }
545 545
546 546
547 static void Generate_KeyedLoadIC_String(MacroAssembler* masm) {
548 KeyedLoadIC::GenerateString(masm);
549 }
550
551
547 static void Generate_KeyedLoadIC_ExternalByteArray(MacroAssembler* masm) { 552 static void Generate_KeyedLoadIC_ExternalByteArray(MacroAssembler* masm) {
548 KeyedLoadIC::GenerateExternalArray(masm, kExternalByteArray); 553 KeyedLoadIC::GenerateExternalArray(masm, kExternalByteArray);
549 } 554 }
550 555
551 556
552 static void Generate_KeyedLoadIC_ExternalUnsignedByteArray( 557 static void Generate_KeyedLoadIC_ExternalUnsignedByteArray(
553 MacroAssembler* masm) { 558 MacroAssembler* masm) {
554 KeyedLoadIC::GenerateExternalArray(masm, kExternalUnsignedByteArray); 559 KeyedLoadIC::GenerateExternalArray(masm, kExternalUnsignedByteArray);
555 } 560 }
556 561
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 if (entry->contains(pc)) { 842 if (entry->contains(pc)) {
838 return names_[i]; 843 return names_[i];
839 } 844 }
840 } 845 }
841 } 846 }
842 return NULL; 847 return NULL;
843 } 848 }
844 849
845 850
846 } } // namespace v8::internal 851 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/ia32/ic-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698