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

Side by Side Diff: src/d8.h

Issue 7851011: Functions in d8 to turn the profiler on/off (enableProfiler() and disableProfiler()). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 241
242 #ifdef WIN32 242 #ifdef WIN32
243 #undef Yield 243 #undef Yield
244 #endif 244 #endif
245 245
246 static Handle<Value> Print(const Arguments& args); 246 static Handle<Value> Print(const Arguments& args);
247 static Handle<Value> Write(const Arguments& args); 247 static Handle<Value> Write(const Arguments& args);
248 static Handle<Value> Yield(const Arguments& args); 248 static Handle<Value> Yield(const Arguments& args);
249 static Handle<Value> Quit(const Arguments& args); 249 static Handle<Value> Quit(const Arguments& args);
250 static Handle<Value> Version(const Arguments& args); 250 static Handle<Value> Version(const Arguments& args);
251 static Handle<Value> EnableProfiler(const Arguments& args);
252 static Handle<Value> DisableProfiler(const Arguments& args);
251 static Handle<Value> Read(const Arguments& args); 253 static Handle<Value> Read(const Arguments& args);
252 static Handle<Value> ReadLine(const Arguments& args); 254 static Handle<Value> ReadLine(const Arguments& args);
253 static Handle<Value> Load(const Arguments& args); 255 static Handle<Value> Load(const Arguments& args);
254 static Handle<Value> Int8Array(const Arguments& args); 256 static Handle<Value> Int8Array(const Arguments& args);
255 static Handle<Value> Uint8Array(const Arguments& args); 257 static Handle<Value> Uint8Array(const Arguments& args);
256 static Handle<Value> Int16Array(const Arguments& args); 258 static Handle<Value> Int16Array(const Arguments& args);
257 static Handle<Value> Uint16Array(const Arguments& args); 259 static Handle<Value> Uint16Array(const Arguments& args);
258 static Handle<Value> Int32Array(const Arguments& args); 260 static Handle<Value> Int32Array(const Arguments& args);
259 static Handle<Value> Uint32Array(const Arguments& args); 261 static Handle<Value> Uint32Array(const Arguments& args);
260 static Handle<Value> Float32Array(const Arguments& args); 262 static Handle<Value> Float32Array(const Arguments& args);
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 LineEditor* next_; 350 LineEditor* next_;
349 static LineEditor* first_; 351 static LineEditor* first_;
350 }; 352 };
351 #endif // V8_SHARED 353 #endif // V8_SHARED
352 354
353 355
354 } // namespace v8 356 } // namespace v8
355 357
356 358
357 #endif // V8_D8_H_ 359 #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