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

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: Use new Macro for object in roots array too. 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
« no previous file with comments | « src/isolate.cc ('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/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 #elif V8_TARGET_ARCH_ARM 389 #elif V8_TARGET_ARCH_ARM
390 const char arch[] = "arm"; 390 const char arch[] = "arm";
391 #elif V8_TARGET_ARCH_PPC 391 #elif V8_TARGET_ARCH_PPC
392 const char arch[] = "ppc"; 392 const char arch[] = "ppc";
393 #elif V8_TARGET_ARCH_MIPS 393 #elif V8_TARGET_ARCH_MIPS
394 const char arch[] = "mips"; 394 const char arch[] = "mips";
395 #elif V8_TARGET_ARCH_X87 395 #elif V8_TARGET_ARCH_X87
396 const char arch[] = "x87"; 396 const char arch[] = "x87";
397 #elif V8_TARGET_ARCH_ARM64 397 #elif V8_TARGET_ARCH_ARM64
398 const char arch[] = "arm64"; 398 const char arch[] = "arm64";
399 #elif V8_TARGET_ARCH_S390
400 const char arch[] = "s390";
399 #else 401 #else
400 const char arch[] = "unknown"; 402 const char arch[] = "unknown";
401 #endif 403 #endif
402 LogWriteBytes(arch, sizeof(arch)); 404 LogWriteBytes(arch, sizeof(arch));
403 } 405 }
404 406
405 void LowLevelLogger::LogRecordedBuffer(AbstractCode* code, SharedFunctionInfo*, 407 void LowLevelLogger::LogRecordedBuffer(AbstractCode* code, SharedFunctionInfo*,
406 const char* name, int length) { 408 const char* name, int length) {
407 CodeCreateStruct event; 409 CodeCreateStruct event;
408 event.name_size = length; 410 event.name_size = length;
(...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after
1862 removeCodeEventListener(jit_logger_); 1864 removeCodeEventListener(jit_logger_);
1863 delete jit_logger_; 1865 delete jit_logger_;
1864 jit_logger_ = NULL; 1866 jit_logger_ = NULL;
1865 } 1867 }
1866 1868
1867 return log_->Close(); 1869 return log_->Close();
1868 } 1870 }
1869 1871
1870 } // namespace internal 1872 } // namespace internal
1871 } // namespace v8 1873 } // namespace v8
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/macro-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698