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

Side by Side Diff: src/builtins.cc

Issue 77035: Add ENABLE_DEBUGGER_SUPPORT macro.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 8 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
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 #ifdef ENABLE_DEBUGGER_SUPPORT
562 static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) { 563 static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) {
563 Debug::GenerateLoadICDebugBreak(masm); 564 Debug::GenerateLoadICDebugBreak(masm);
564 } 565 }
565 566
566 567
567 static void Generate_StoreIC_DebugBreak(MacroAssembler* masm) { 568 static void Generate_StoreIC_DebugBreak(MacroAssembler* masm) {
568 Debug::GenerateStoreICDebugBreak(masm); 569 Debug::GenerateStoreICDebugBreak(masm);
569 } 570 }
570 571
571 572
(...skipping 18 matching lines...) Expand all
590 591
591 592
592 static void Generate_Return_DebugBreakEntry(MacroAssembler* masm) { 593 static void Generate_Return_DebugBreakEntry(MacroAssembler* masm) {
593 Debug::GenerateReturnDebugBreakEntry(masm); 594 Debug::GenerateReturnDebugBreakEntry(masm);
594 } 595 }
595 596
596 597
597 static void Generate_StubNoRegisters_DebugBreak(MacroAssembler* masm) { 598 static void Generate_StubNoRegisters_DebugBreak(MacroAssembler* masm) {
598 Debug::GenerateStubNoRegistersDebugBreak(masm); 599 Debug::GenerateStubNoRegistersDebugBreak(masm);
599 } 600 }
600 601 #endif
601 602
602 Object* Builtins::builtins_[builtin_count] = { NULL, }; 603 Object* Builtins::builtins_[builtin_count] = { NULL, };
603 const char* Builtins::names_[builtin_count] = { NULL, }; 604 const char* Builtins::names_[builtin_count] = { NULL, };
604 605
605 #define DEF_ENUM_C(name) FUNCTION_ADDR(Builtin_##name), 606 #define DEF_ENUM_C(name) FUNCTION_ADDR(Builtin_##name),
606 Address Builtins::c_functions_[cfunction_count] = { 607 Address Builtins::c_functions_[cfunction_count] = {
607 BUILTIN_LIST_C(DEF_ENUM_C) 608 BUILTIN_LIST_C(DEF_ENUM_C)
608 }; 609 };
609 #undef DEF_ENUM_C 610 #undef DEF_ENUM_C
610 611
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 if (entry->contains(pc)) { 736 if (entry->contains(pc)) {
736 return names_[i]; 737 return names_[i];
737 } 738 }
738 } 739 }
739 } 740 }
740 return NULL; 741 return NULL;
741 } 742 }
742 743
743 744
744 } } // namespace v8::internal 745 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/builtins-ia32.cc » ('j') | src/serialize.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698