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

Side by Side Diff: src/d8.h

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
« no previous file with comments | « src/compiler.cc ('k') | src/d8.cc » ('j') | src/serialize.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 int min, 125 int min,
126 int max, 126 int max,
127 size_t buckets); 127 size_t buckets);
128 static void AddHistogramSample(void* histogram, int sample); 128 static void AddHistogramSample(void* histogram, int sample);
129 static void MapCounters(const char* name); 129 static void MapCounters(const char* name);
130 static Handle<String> ReadFile(const char* name); 130 static Handle<String> ReadFile(const char* name);
131 static void RunShell(); 131 static void RunShell();
132 static int Main(int argc, char* argv[]); 132 static int Main(int argc, char* argv[]);
133 static Handle<Array> GetCompletions(Handle<String> text, 133 static Handle<Array> GetCompletions(Handle<String> text,
134 Handle<String> full); 134 Handle<String> full);
135 #ifdef ENABLE_DEBUGGER_SUPPORT
135 static Handle<Object> DebugMessageDetails(Handle<String> message); 136 static Handle<Object> DebugMessageDetails(Handle<String> message);
136 static Handle<Value> DebugCommandToJSONRequest(Handle<String> command); 137 static Handle<Value> DebugCommandToJSONRequest(Handle<String> command);
138 #endif
137 139
138 static Handle<Value> Print(const Arguments& args); 140 static Handle<Value> Print(const Arguments& args);
139 static Handle<Value> Yield(const Arguments& args); 141 static Handle<Value> Yield(const Arguments& args);
140 static Handle<Value> Quit(const Arguments& args); 142 static Handle<Value> Quit(const Arguments& args);
141 static Handle<Value> Version(const Arguments& args); 143 static Handle<Value> Version(const Arguments& args);
142 static Handle<Value> Load(const Arguments& args); 144 static Handle<Value> Load(const Arguments& args);
143 // The OS object on the global object contains methods for performing 145 // The OS object on the global object contains methods for performing
144 // operating system calls: 146 // operating system calls:
145 // 147 //
146 // os.system("program_name", ["arg1", "arg2", ...], timeout1, timeout2) will 148 // os.system("program_name", ["arg1", "arg2", ...], timeout1, timeout2) will
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 const char* name_; 213 const char* name_;
212 LineEditor* next_; 214 LineEditor* next_;
213 static LineEditor* first_; 215 static LineEditor* first_;
214 }; 216 };
215 217
216 218
217 } // namespace v8 219 } // namespace v8
218 220
219 221
220 #endif // V8_D8_H_ 222 #endif // V8_D8_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/d8.cc » ('j') | src/serialize.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698