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

Side by Side Diff: src/assembler.cc

Issue 536065: Optimized calling of C++ builtins (and HandleApiCall (Closed)
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
« no previous file with comments | « src/assembler.h ('k') | src/builtins.h » ('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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 556
557 ExternalReference::ExternalReference(const SCTableReference& table_ref) 557 ExternalReference::ExternalReference(const SCTableReference& table_ref)
558 : address_(table_ref.address()) {} 558 : address_(table_ref.address()) {}
559 559
560 560
561 ExternalReference ExternalReference::perform_gc_function() { 561 ExternalReference ExternalReference::perform_gc_function() {
562 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC))); 562 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC)));
563 } 563 }
564 564
565 565
566 ExternalReference ExternalReference::builtin_passed_function() {
567 return ExternalReference(&Builtins::builtin_passed_function);
568 }
569
570
571 ExternalReference ExternalReference::random_positive_smi_function() { 566 ExternalReference ExternalReference::random_positive_smi_function() {
572 return ExternalReference(Redirect(FUNCTION_ADDR(V8::RandomPositiveSmi))); 567 return ExternalReference(Redirect(FUNCTION_ADDR(V8::RandomPositiveSmi)));
573 } 568 }
574 569
575 570
576 ExternalReference ExternalReference::keyed_lookup_cache_keys() { 571 ExternalReference ExternalReference::keyed_lookup_cache_keys() {
577 return ExternalReference(KeyedLookupCache::keys_address()); 572 return ExternalReference(KeyedLookupCache::keys_address());
578 } 573 }
579 574
580 575
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); 758 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break)));
764 } 759 }
765 760
766 761
767 ExternalReference ExternalReference::debug_step_in_fp_address() { 762 ExternalReference ExternalReference::debug_step_in_fp_address() {
768 return ExternalReference(Debug::step_in_fp_addr()); 763 return ExternalReference(Debug::step_in_fp_addr());
769 } 764 }
770 #endif 765 #endif
771 766
772 } } // namespace v8::internal 767 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698