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

Side by Side Diff: src/d8.h

Issue 1566049: Tweak D8 remote debugger... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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 | « no previous file | src/d8.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 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 i::HashMap hash_map_; 110 i::HashMap hash_map_;
111 }; 111 };
112 112
113 113
114 class Shell: public i::AllStatic { 114 class Shell: public i::AllStatic {
115 public: 115 public:
116 static bool ExecuteString(Handle<String> source, 116 static bool ExecuteString(Handle<String> source,
117 Handle<Value> name, 117 Handle<Value> name,
118 bool print_result, 118 bool print_result,
119 bool report_exceptions); 119 bool report_exceptions);
120 static const char* ToCString(const v8::String::Utf8Value& value);
120 static void ReportException(TryCatch* try_catch); 121 static void ReportException(TryCatch* try_catch);
121 static void Initialize(); 122 static void Initialize();
122 static void OnExit(); 123 static void OnExit();
123 static int* LookupCounter(const char* name); 124 static int* LookupCounter(const char* name);
124 static void* CreateHistogram(const char* name, 125 static void* CreateHistogram(const char* name,
125 int min, 126 int min,
126 int max, 127 int max,
127 size_t buckets); 128 size_t buckets);
128 static void AddHistogramSample(void* histogram, int sample); 129 static void AddHistogramSample(void* histogram, int sample);
129 static void MapCounters(const char* name); 130 static void MapCounters(const char* name);
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 const char* name_; 218 const char* name_;
218 LineEditor* next_; 219 LineEditor* next_;
219 static LineEditor* first_; 220 static LineEditor* first_;
220 }; 221 };
221 222
222 223
223 } // namespace v8 224 } // namespace v8
224 225
225 226
226 #endif // V8_D8_H_ 227 #endif // V8_D8_H_
OLDNEW
« no previous file with comments | « no previous file | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698