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

Side by Side Diff: src/log.cc

Issue 1777593003: S390: Platform specific includes in common files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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
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/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 #elif V8_TARGET_ARCH_ARM 387 #elif V8_TARGET_ARCH_ARM
388 const char arch[] = "arm"; 388 const char arch[] = "arm";
389 #elif V8_TARGET_ARCH_PPC 389 #elif V8_TARGET_ARCH_PPC
390 const char arch[] = "ppc"; 390 const char arch[] = "ppc";
391 #elif V8_TARGET_ARCH_MIPS 391 #elif V8_TARGET_ARCH_MIPS
392 const char arch[] = "mips"; 392 const char arch[] = "mips";
393 #elif V8_TARGET_ARCH_X87 393 #elif V8_TARGET_ARCH_X87
394 const char arch[] = "x87"; 394 const char arch[] = "x87";
395 #elif V8_TARGET_ARCH_ARM64 395 #elif V8_TARGET_ARCH_ARM64
396 const char arch[] = "arm64"; 396 const char arch[] = "arm64";
397 #elif V8_TARGET_ARCH_S390
398 const char arch[] = "s390";
397 #else 399 #else
398 const char arch[] = "unknown"; 400 const char arch[] = "unknown";
399 #endif 401 #endif
400 LogWriteBytes(arch, sizeof(arch)); 402 LogWriteBytes(arch, sizeof(arch));
401 } 403 }
402 404
403 void LowLevelLogger::LogRecordedBuffer(AbstractCode* code, SharedFunctionInfo*, 405 void LowLevelLogger::LogRecordedBuffer(AbstractCode* code, SharedFunctionInfo*,
404 const char* name, int length) { 406 const char* name, int length) {
405 CodeCreateStruct event; 407 CodeCreateStruct event;
406 event.name_size = length; 408 event.name_size = length;
(...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1846 removeCodeEventListener(jit_logger_); 1848 removeCodeEventListener(jit_logger_);
1847 delete jit_logger_; 1849 delete jit_logger_;
1848 jit_logger_ = NULL; 1850 jit_logger_ = NULL;
1849 } 1851 }
1850 1852
1851 return log_->Close(); 1853 return log_->Close();
1852 } 1854 }
1853 1855
1854 } // namespace internal 1856 } // namespace internal
1855 } // namespace v8 1857 } // namespace v8
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/macro-assembler.h » ('j') | src/snapshot/deserializer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698