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

Side by Side Diff: src/interpreter/interpreter-assembler.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/interpreter/interpreter-assembler.h" 5 #include "src/interpreter/interpreter-assembler.h"
6 6
7 #include <ostream> 7 #include <ostream>
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 CallRuntime(function_id, GetContext(), BytecodeArrayTaggedPointer(), 523 CallRuntime(function_id, GetContext(), BytecodeArrayTaggedPointer(),
524 SmiTag(BytecodeOffset()), GetAccumulator()); 524 SmiTag(BytecodeOffset()), GetAccumulator());
525 } 525 }
526 526
527 // static 527 // static
528 bool InterpreterAssembler::TargetSupportsUnalignedAccess() { 528 bool InterpreterAssembler::TargetSupportsUnalignedAccess() {
529 #if V8_TARGET_ARCH_MIPS || V8_TARGET_ARCH_MIPS64 529 #if V8_TARGET_ARCH_MIPS || V8_TARGET_ARCH_MIPS64
530 return false; 530 return false;
531 #elif V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_PPC 531 #elif V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_PPC
532 return CpuFeatures::IsSupported(UNALIGNED_ACCESSES); 532 return CpuFeatures::IsSupported(UNALIGNED_ACCESSES);
533 #elif V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_X87 533 #elif V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_X87 || \
534 V8_TARGET_ARCH_S390
534 return true; 535 return true;
535 #else 536 #else
536 #error "Unknown Architecture" 537 #error "Unknown Architecture"
537 #endif 538 #endif
538 } 539 }
539 540
540 } // namespace interpreter 541 } // namespace interpreter
541 } // namespace internal 542 } // namespace internal
542 } // namespace v8 543 } // namespace v8
OLDNEW
« no previous file with comments | « src/globals.h ('k') | src/isolate.cc » ('j') | src/snapshot/deserializer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698