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

Unified Diff: src/d8.cc

Issue 113333: Fix asterisk spacing. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler.cc ('k') | src/flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
===================================================================
--- src/d8.cc (revision 1931)
+++ src/d8.cc (working copy)
@@ -487,7 +487,7 @@
}
-static char* ReadChars(const char *name, int* size_out) {
+static char* ReadChars(const char* name, int* size_out) {
v8::Unlocker unlocker; // Release the V8 lock while reading files.
FILE* file = i::OS::FOpen(name, "rb");
if (file == NULL) return NULL;
@@ -659,7 +659,7 @@
use_preemption = false;
} else if (strcmp(str, "--preemption-interval") == 0) {
if (i + 1 < argc) {
- char *end = NULL;
+ char* end = NULL;
preemption_interval = strtol(argv[++i], &end, 10); // NOLINT
if (preemption_interval <= 0 || *end != '\0' || errno == ERANGE) {
printf("Invalid value for --preemption-interval '%s'\n", argv[i]);
@@ -687,9 +687,9 @@
i++;
} else if (strcmp(str, "-p") == 0 && i + 1 < argc) {
int size = 0;
- const char *files = ReadChars(argv[++i], &size);
+ const char* files = ReadChars(argv[++i], &size);
if (files == NULL) return 1;
- ShellThread *thread =
+ ShellThread* thread =
new ShellThread(threads.length(),
i::Vector<const char>(files, size));
thread->Start();
@@ -736,7 +736,7 @@
if (run_shell)
RunShell();
for (int i = 0; i < threads.length(); i++) {
- i::Thread *thread = threads[i];
+ i::Thread* thread = threads[i];
thread->Join();
delete thread;
}
« no previous file with comments | « src/compiler.cc ('k') | src/flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698