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

Side by Side Diff: src/debug.cc

Issue 2473001: - Continue removing [static] qualifier from methods on StubCache (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 10 years, 6 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
« no previous file with comments | « no previous file | src/ic.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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 if (data.start() == NULL) { 56 if (data.start() == NULL) {
57 V8::FatalProcessOutOfMemory("PrintLn"); 57 V8::FatalProcessOutOfMemory("PrintLn");
58 return; 58 return;
59 } 59 }
60 s->WriteAscii(data.start()); 60 s->WriteAscii(data.start());
61 PrintF("%s\n", data.start()); 61 PrintF("%s\n", data.start());
62 } 62 }
63 63
64 64
65 static Handle<Code> ComputeCallDebugBreak(int argc) { 65 static Handle<Code> ComputeCallDebugBreak(int argc) {
66 CALL_HEAP_FUNCTION(StubCache::ComputeCallDebugBreak(argc), Code); 66 CALL_HEAP_FUNCTION(
67 Isolate::Current()->stub_cache()->ComputeCallDebugBreak(argc),
68 Code);
67 } 69 }
68 70
69 71
70 static Handle<Code> ComputeCallDebugPrepareStepIn(int argc) { 72 static Handle<Code> ComputeCallDebugPrepareStepIn(int argc) {
71 CALL_HEAP_FUNCTION(StubCache::ComputeCallDebugPrepareStepIn(argc), Code); 73 CALL_HEAP_FUNCTION(
74 Isolate::Current()->stub_cache()->ComputeCallDebugPrepareStepIn(argc),
75 Code);
72 } 76 }
73 77
74 78
75 static v8::Handle<v8::Context> GetDebugEventContext() { 79 static v8::Handle<v8::Context> GetDebugEventContext() {
76 Handle<Context> context = Debug::debugger_entry()->GetContext(); 80 Handle<Context> context = Debug::debugger_entry()->GetContext();
77 // Top::context() may have been NULL when "script collected" event occured. 81 // Top::context() may have been NULL when "script collected" event occured.
78 if (*context == NULL) { 82 if (*context == NULL) {
79 return v8::Local<v8::Context>(); 83 return v8::Local<v8::Context>();
80 } 84 }
81 Handle<Context> global_context(context->global_context()); 85 Handle<Context> global_context(context->global_context());
(...skipping 2768 matching lines...) Expand 10 before | Expand all | Expand 10 after
2850 { 2854 {
2851 Locker locker; 2855 Locker locker;
2852 Debugger::CallMessageDispatchHandler(); 2856 Debugger::CallMessageDispatchHandler();
2853 } 2857 }
2854 } 2858 }
2855 } 2859 }
2856 2860
2857 #endif // ENABLE_DEBUGGER_SUPPORT 2861 #endif // ENABLE_DEBUGGER_SUPPORT
2858 2862
2859 } } // namespace v8::internal 2863 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698