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/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_64_BIT | 557 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_64_BIT |
558 const char arch[] = "x64"; | 558 const char arch[] = "x64"; |
559 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT | 559 #elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT |
560 const char arch[] = "x32"; | 560 const char arch[] = "x32"; |
561 #elif V8_TARGET_ARCH_ARM | 561 #elif V8_TARGET_ARCH_ARM |
562 const char arch[] = "arm"; | 562 const char arch[] = "arm"; |
563 #elif V8_TARGET_ARCH_MIPS | 563 #elif V8_TARGET_ARCH_MIPS |
564 const char arch[] = "mips"; | 564 const char arch[] = "mips"; |
565 #elif V8_TARGET_ARCH_X87 | 565 #elif V8_TARGET_ARCH_X87 |
566 const char arch[] = "x87"; | 566 const char arch[] = "x87"; |
| 567 #elif V8_TARGET_ARCH_ARM64 |
| 568 const char arch[] = "arm64"; |
567 #else | 569 #else |
568 const char arch[] = "unknown"; | 570 const char arch[] = "unknown"; |
569 #endif | 571 #endif |
570 LogWriteBytes(arch, sizeof(arch)); | 572 LogWriteBytes(arch, sizeof(arch)); |
571 } | 573 } |
572 | 574 |
573 | 575 |
574 void LowLevelLogger::LogRecordedBuffer(Code* code, | 576 void LowLevelLogger::LogRecordedBuffer(Code* code, |
575 SharedFunctionInfo*, | 577 SharedFunctionInfo*, |
576 const char* name, | 578 const char* name, |
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2121 if (jit_logger_) { | 2123 if (jit_logger_) { |
2122 removeCodeEventListener(jit_logger_); | 2124 removeCodeEventListener(jit_logger_); |
2123 delete jit_logger_; | 2125 delete jit_logger_; |
2124 jit_logger_ = NULL; | 2126 jit_logger_ = NULL; |
2125 } | 2127 } |
2126 | 2128 |
2127 return log_->Close(); | 2129 return log_->Close(); |
2128 } | 2130 } |
2129 | 2131 |
2130 } } // namespace v8::internal | 2132 } } // namespace v8::internal |
OLD | NEW |