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

Side by Side Diff: src/debug.cc

Issue 1935: New static flags system (Closed)
Patch Set: Merge, again. Created 12 years, 3 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/contexts.cc ('k') | src/execution.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 23 matching lines...) Expand all
34 #include "compiler.h" 34 #include "compiler.h"
35 #include "debug.h" 35 #include "debug.h"
36 #include "execution.h" 36 #include "execution.h"
37 #include "global-handles.h" 37 #include "global-handles.h"
38 #include "natives.h" 38 #include "natives.h"
39 #include "stub-cache.h" 39 #include "stub-cache.h"
40 #include "log.h" 40 #include "log.h"
41 41
42 namespace v8 { namespace internal { 42 namespace v8 { namespace internal {
43 43
44 DEFINE_bool(remote_debugging, false, "enable remote debugging");
45 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response");
46 DECLARE_bool(allow_natives_syntax);
47 DECLARE_bool(log_debugger);
48
49
50 static void PrintLn(v8::Local<v8::Value> value) { 44 static void PrintLn(v8::Local<v8::Value> value) {
51 v8::Local<v8::String> s = value->ToString(); 45 v8::Local<v8::String> s = value->ToString();
52 char* data = NewArray<char>(s->Length() + 1); 46 char* data = NewArray<char>(s->Length() + 1);
53 if (data == NULL) { 47 if (data == NULL) {
54 V8::FatalProcessOutOfMemory("PrintLn"); 48 V8::FatalProcessOutOfMemory("PrintLn");
55 return; 49 return;
56 } 50 }
57 s->WriteAscii(data); 51 s->WriteAscii(data);
58 PrintF("%s\n", data); 52 PrintF("%s\n", data);
59 DeleteArray(data); 53 DeleteArray(data);
(...skipping 1915 matching lines...) Expand 10 before | Expand all | Expand 10 after
1975 } 1969 }
1976 1970
1977 1971
1978 void LockingMessageQueue::Clear() { 1972 void LockingMessageQueue::Clear() {
1979 ScopedLock sl(lock_); 1973 ScopedLock sl(lock_);
1980 queue_.Clear(); 1974 queue_.Clear();
1981 } 1975 }
1982 1976
1983 1977
1984 } } // namespace v8::internal 1978 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/contexts.cc ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698