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

Side by Side Diff: src/builtins.cc

Issue 13657: Moved the code generation for debug break stubs from builtins* to debug*. Fro... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years 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/builtins-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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { 552 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) {
553 KeyedStoreIC::GenerateMiss(masm); 553 KeyedStoreIC::GenerateMiss(masm);
554 } 554 }
555 555
556 556
557 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { 557 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) {
558 KeyedStoreIC::GenerateInitialize(masm); 558 KeyedStoreIC::GenerateInitialize(masm);
559 } 559 }
560 560
561 561
562 static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) {
563 Debug::GenerateLoadICDebugBreak(masm);
564 }
565
566
567 static void Generate_StoreIC_DebugBreak(MacroAssembler* masm) {
568 Debug::GenerateStoreICDebugBreak(masm);
569 }
570
571
572 static void Generate_KeyedLoadIC_DebugBreak(MacroAssembler* masm) {
573 Debug::GenerateKeyedLoadICDebugBreak(masm);
574 }
575
576
577 static void Generate_KeyedStoreIC_DebugBreak(MacroAssembler* masm) {
578 Debug::GenerateKeyedStoreICDebugBreak(masm);
579 }
580
581
582 static void Generate_CallIC_DebugBreak(MacroAssembler* masm) {
583 Debug::GenerateCallICDebugBreak(masm);
584 }
585
586
587 static void Generate_ConstructCall_DebugBreak(MacroAssembler* masm) {
588 Debug::GenerateConstructCallDebugBreak(masm);
589 }
590
591
592 static void Generate_Return_DebugBreak(MacroAssembler* masm) {
593 Debug::GenerateReturnDebugBreak(masm);
594 }
595
596
597 static void Generate_Return_DebugBreakEntry(MacroAssembler* masm) {
598 Debug::GenerateReturnDebugBreakEntry(masm);
599 }
600
601
602 static void Generate_StubNoRegisters_DebugBreak(MacroAssembler* masm) {
603 Debug::GenerateStubNoRegistersDebugBreak(masm);
604 }
605
606
562 Object* Builtins::builtins_[builtin_count] = { NULL, }; 607 Object* Builtins::builtins_[builtin_count] = { NULL, };
563 const char* Builtins::names_[builtin_count] = { NULL, }; 608 const char* Builtins::names_[builtin_count] = { NULL, };
564 609
565 #define DEF_ENUM_C(name) FUNCTION_ADDR(Builtin_##name), 610 #define DEF_ENUM_C(name) FUNCTION_ADDR(Builtin_##name),
566 Address Builtins::c_functions_[cfunction_count] = { 611 Address Builtins::c_functions_[cfunction_count] = {
567 BUILTIN_LIST_C(DEF_ENUM_C) 612 BUILTIN_LIST_C(DEF_ENUM_C)
568 }; 613 };
569 #undef DEF_ENUM_C 614 #undef DEF_ENUM_C
570 615
571 #define DEF_JS_NAME(name, ignore) #name, 616 #define DEF_JS_NAME(name, ignore) #name,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 if (entry->contains(pc)) { 740 if (entry->contains(pc)) {
696 return names_[i]; 741 return names_[i];
697 } 742 }
698 } 743 }
699 } 744 }
700 return NULL; 745 return NULL;
701 } 746 }
702 747
703 748
704 } } // namespace v8::internal 749 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/builtins-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698