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

Side by Side Diff: src/log.cc

Issue 422063005: Contribution of PowerPC port. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: re-upload - catch up to 8/19 level Created 6 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
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 <stdarg.h> 5 #include <stdarg.h>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/base/platform/platform.h" 9 #include "src/base/platform/platform.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 391
392 void LowLevelLogger::LogCodeInfo() { 392 void LowLevelLogger::LogCodeInfo() {
393 #if V8_TARGET_ARCH_IA32 393 #if V8_TARGET_ARCH_IA32
394 const char arch[] = "ia32"; 394 const char arch[] = "ia32";
395 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_64_BIT 395 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_64_BIT
396 const char arch[] = "x64"; 396 const char arch[] = "x64";
397 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT 397 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT
398 const char arch[] = "x32"; 398 const char arch[] = "x32";
399 #elif V8_TARGET_ARCH_ARM 399 #elif V8_TARGET_ARCH_ARM
400 const char arch[] = "arm"; 400 const char arch[] = "arm";
401 #elif V8_TARGET_ARCH_PPC
402 const char arch[] = "ppc";
401 #elif V8_TARGET_ARCH_MIPS 403 #elif V8_TARGET_ARCH_MIPS
402 const char arch[] = "mips"; 404 const char arch[] = "mips";
403 #elif V8_TARGET_ARCH_X87 405 #elif V8_TARGET_ARCH_X87
404 const char arch[] = "x87"; 406 const char arch[] = "x87";
405 #elif V8_TARGET_ARCH_ARM64 407 #elif V8_TARGET_ARCH_ARM64
406 const char arch[] = "arm64"; 408 const char arch[] = "arm64";
407 #else 409 #else
408 const char arch[] = "unknown"; 410 const char arch[] = "unknown";
409 #endif 411 #endif
410 LogWriteBytes(arch, sizeof(arch)); 412 LogWriteBytes(arch, sizeof(arch));
(...skipping 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after
1935 if (jit_logger_) { 1937 if (jit_logger_) {
1936 removeCodeEventListener(jit_logger_); 1938 removeCodeEventListener(jit_logger_);
1937 delete jit_logger_; 1939 delete jit_logger_;
1938 jit_logger_ = NULL; 1940 jit_logger_ = NULL;
1939 } 1941 }
1940 1942
1941 return log_->Close(); 1943 return log_->Close();
1942 } 1944 }
1943 1945
1944 } } // namespace v8::internal 1946 } } // namespace v8::internal
OLDNEW
« src/hydrogen-bch.cc ('K') | « src/lithium-inl.h ('k') | src/macro-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698