OLD | NEW |
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 Loading... |
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 1525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1936 if (jit_logger_) { | 1938 if (jit_logger_) { |
1937 removeCodeEventListener(jit_logger_); | 1939 removeCodeEventListener(jit_logger_); |
1938 delete jit_logger_; | 1940 delete jit_logger_; |
1939 jit_logger_ = NULL; | 1941 jit_logger_ = NULL; |
1940 } | 1942 } |
1941 | 1943 |
1942 return log_->Close(); | 1944 return log_->Close(); |
1943 } | 1945 } |
1944 | 1946 |
1945 } } // namespace v8::internal | 1947 } } // namespace v8::internal |
OLD | NEW |