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

Side by Side Diff: src/builtins.cc

Issue 8187: Serendipitously arrange the tags so that String.length() becomes a branch-fre... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 1 month 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
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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 // in builtins.cc. 458 // in builtins.cc.
459 Object* Builtins::builtin_passed_function; 459 Object* Builtins::builtin_passed_function;
460 460
461 461
462 462
463 static void Generate_LoadIC_ArrayLength(MacroAssembler* masm) { 463 static void Generate_LoadIC_ArrayLength(MacroAssembler* masm) {
464 LoadIC::GenerateArrayLength(masm); 464 LoadIC::GenerateArrayLength(masm);
465 } 465 }
466 466
467 467
468 static void Generate_LoadIC_ShortStringLength(MacroAssembler* masm) { 468 static void Generate_LoadIC_StringLength(MacroAssembler* masm) {
469 LoadIC::GenerateShortStringLength(masm); 469 LoadIC::GenerateStringLength(masm);
470 }
471
472
473 static void Generate_LoadIC_MediumStringLength(MacroAssembler* masm) {
474 LoadIC::GenerateMediumStringLength(masm);
475 }
476
477
478 static void Generate_LoadIC_LongStringLength(MacroAssembler* masm) {
479 LoadIC::GenerateLongStringLength(masm);
480 } 470 }
481 471
482 472
483 static void Generate_LoadIC_FunctionPrototype(MacroAssembler* masm) { 473 static void Generate_LoadIC_FunctionPrototype(MacroAssembler* masm) {
484 LoadIC::GenerateFunctionPrototype(masm); 474 LoadIC::GenerateFunctionPrototype(masm);
485 } 475 }
486 476
487 477
488 static void Generate_LoadIC_Initialize(MacroAssembler* masm) { 478 static void Generate_LoadIC_Initialize(MacroAssembler* masm) {
489 LoadIC::GenerateInitialize(masm); 479 LoadIC::GenerateInitialize(masm);
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 if (entry->contains(pc)) { 695 if (entry->contains(pc)) {
706 return names_[i]; 696 return names_[i];
707 } 697 }
708 } 698 }
709 } 699 }
710 return NULL; 700 return NULL;
711 } 701 }
712 702
713 703
714 } } // namespace v8::internal 704 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/codegen-ia32.cc » ('j') | src/codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698