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

Side by Side Diff: src/codegen.cc

Issue 660184: Implemented one-char cache lookup in generated code. (Closed)
Patch Set: Created 10 years, 9 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
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 {&CodeGenerator::GenerateIsNonNegativeSmi, "_IsNonNegativeSmi"}, 362 {&CodeGenerator::GenerateIsNonNegativeSmi, "_IsNonNegativeSmi"},
363 {&CodeGenerator::GenerateIsArray, "_IsArray"}, 363 {&CodeGenerator::GenerateIsArray, "_IsArray"},
364 {&CodeGenerator::GenerateIsRegExp, "_IsRegExp"}, 364 {&CodeGenerator::GenerateIsRegExp, "_IsRegExp"},
365 {&CodeGenerator::GenerateIsConstructCall, "_IsConstructCall"}, 365 {&CodeGenerator::GenerateIsConstructCall, "_IsConstructCall"},
366 {&CodeGenerator::GenerateArgumentsLength, "_ArgumentsLength"}, 366 {&CodeGenerator::GenerateArgumentsLength, "_ArgumentsLength"},
367 {&CodeGenerator::GenerateArgumentsAccess, "_Arguments"}, 367 {&CodeGenerator::GenerateArgumentsAccess, "_Arguments"},
368 {&CodeGenerator::GenerateClassOf, "_ClassOf"}, 368 {&CodeGenerator::GenerateClassOf, "_ClassOf"},
369 {&CodeGenerator::GenerateValueOf, "_ValueOf"}, 369 {&CodeGenerator::GenerateValueOf, "_ValueOf"},
370 {&CodeGenerator::GenerateSetValueOf, "_SetValueOf"}, 370 {&CodeGenerator::GenerateSetValueOf, "_SetValueOf"},
371 {&CodeGenerator::GenerateFastCharCodeAt, "_FastCharCodeAt"}, 371 {&CodeGenerator::GenerateFastCharCodeAt, "_FastCharCodeAt"},
372 {&CodeGenerator::GenerateCharFromCode, "_CharFromCode"},
372 {&CodeGenerator::GenerateObjectEquals, "_ObjectEquals"}, 373 {&CodeGenerator::GenerateObjectEquals, "_ObjectEquals"},
373 {&CodeGenerator::GenerateLog, "_Log"}, 374 {&CodeGenerator::GenerateLog, "_Log"},
374 {&CodeGenerator::GenerateRandomPositiveSmi, "_RandomPositiveSmi"}, 375 {&CodeGenerator::GenerateRandomPositiveSmi, "_RandomPositiveSmi"},
375 {&CodeGenerator::GenerateIsObject, "_IsObject"}, 376 {&CodeGenerator::GenerateIsObject, "_IsObject"},
376 {&CodeGenerator::GenerateIsFunction, "_IsFunction"}, 377 {&CodeGenerator::GenerateIsFunction, "_IsFunction"},
377 {&CodeGenerator::GenerateIsUndetectableObject, "_IsUndetectableObject"}, 378 {&CodeGenerator::GenerateIsUndetectableObject, "_IsUndetectableObject"},
378 {&CodeGenerator::GenerateStringAdd, "_StringAdd"}, 379 {&CodeGenerator::GenerateStringAdd, "_StringAdd"},
379 {&CodeGenerator::GenerateSubString, "_SubString"}, 380 {&CodeGenerator::GenerateSubString, "_SubString"},
380 {&CodeGenerator::GenerateStringCompare, "_StringCompare"}, 381 {&CodeGenerator::GenerateStringCompare, "_StringCompare"},
381 {&CodeGenerator::GenerateRegExpExec, "_RegExpExec"}, 382 {&CodeGenerator::GenerateRegExpExec, "_RegExpExec"},
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 } 529 }
529 } 530 }
530 531
531 532
532 void ApiGetterEntryStub::SetCustomCache(Code* value) { 533 void ApiGetterEntryStub::SetCustomCache(Code* value) {
533 info()->set_load_stub_cache(value); 534 info()->set_load_stub_cache(value);
534 } 535 }
535 536
536 537
537 } } // namespace v8::internal 538 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698