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

Side by Side Diff: src/log.cc

Issue 817143002: Contribution of PowerPC port (continuation of 422063005) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Contribution of PowerPC port - rebase and address initial set of comments Created 5 years, 11 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/lithium-inl.h ('k') | src/macro-assembler.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/log.h" 5 #include "src/log.h"
6 6
7 #include <cstdarg> 7 #include <cstdarg>
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/v8.h" 10 #include "src/v8.h"
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 395
396 void LowLevelLogger::LogCodeInfo() { 396 void LowLevelLogger::LogCodeInfo() {
397 #if V8_TARGET_ARCH_IA32 397 #if V8_TARGET_ARCH_IA32
398 const char arch[] = "ia32"; 398 const char arch[] = "ia32";
399 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_64_BIT 399 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_64_BIT
400 const char arch[] = "x64"; 400 const char arch[] = "x64";
401 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT 401 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT
402 const char arch[] = "x32"; 402 const char arch[] = "x32";
403 #elif V8_TARGET_ARCH_ARM 403 #elif V8_TARGET_ARCH_ARM
404 const char arch[] = "arm"; 404 const char arch[] = "arm";
405 #elif V8_TARGET_ARCH_PPC
406 const char arch[] = "ppc";
405 #elif V8_TARGET_ARCH_MIPS 407 #elif V8_TARGET_ARCH_MIPS
406 const char arch[] = "mips"; 408 const char arch[] = "mips";
407 #elif V8_TARGET_ARCH_X87 409 #elif V8_TARGET_ARCH_X87
408 const char arch[] = "x87"; 410 const char arch[] = "x87";
409 #elif V8_TARGET_ARCH_ARM64 411 #elif V8_TARGET_ARCH_ARM64
410 const char arch[] = "arm64"; 412 const char arch[] = "arm64";
411 #else 413 #else
412 const char arch[] = "unknown"; 414 const char arch[] = "unknown";
413 #endif 415 #endif
414 LogWriteBytes(arch, sizeof(arch)); 416 LogWriteBytes(arch, sizeof(arch));
(...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after
1931 if (jit_logger_) { 1933 if (jit_logger_) {
1932 removeCodeEventListener(jit_logger_); 1934 removeCodeEventListener(jit_logger_);
1933 delete jit_logger_; 1935 delete jit_logger_;
1934 jit_logger_ = NULL; 1936 jit_logger_ = NULL;
1935 } 1937 }
1936 1938
1937 return log_->Close(); 1939 return log_->Close();
1938 } 1940 }
1939 1941
1940 } } // namespace v8::internal 1942 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/lithium-inl.h ('k') | src/macro-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698