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

Side by Side Diff: src/assembler.cc

Issue 1751863002: [serializer] split up src/snapshot/serialize.* (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix 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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "src/ic/stub-cache.h" 53 #include "src/ic/stub-cache.h"
54 #include "src/interpreter/interpreter.h" 54 #include "src/interpreter/interpreter.h"
55 #include "src/ostreams.h" 55 #include "src/ostreams.h"
56 #include "src/profiler/cpu-profiler.h" 56 #include "src/profiler/cpu-profiler.h"
57 #include "src/regexp/jsregexp.h" 57 #include "src/regexp/jsregexp.h"
58 #include "src/regexp/regexp-macro-assembler.h" 58 #include "src/regexp/regexp-macro-assembler.h"
59 #include "src/regexp/regexp-stack.h" 59 #include "src/regexp/regexp-stack.h"
60 #include "src/register-configuration.h" 60 #include "src/register-configuration.h"
61 #include "src/runtime/runtime.h" 61 #include "src/runtime/runtime.h"
62 #include "src/simulator.h" // For flushing instruction cache. 62 #include "src/simulator.h" // For flushing instruction cache.
63 #include "src/snapshot/serialize.h" 63 #include "src/snapshot/serializer-common.h"
64 64
65 #if V8_TARGET_ARCH_IA32 65 #if V8_TARGET_ARCH_IA32
66 #include "src/ia32/assembler-ia32-inl.h" // NOLINT 66 #include "src/ia32/assembler-ia32-inl.h" // NOLINT
67 #elif V8_TARGET_ARCH_X64 67 #elif V8_TARGET_ARCH_X64
68 #include "src/x64/assembler-x64-inl.h" // NOLINT 68 #include "src/x64/assembler-x64-inl.h" // NOLINT
69 #elif V8_TARGET_ARCH_ARM64 69 #elif V8_TARGET_ARCH_ARM64
70 #include "src/arm64/assembler-arm64-inl.h" // NOLINT 70 #include "src/arm64/assembler-arm64-inl.h" // NOLINT
71 #elif V8_TARGET_ARCH_ARM 71 #elif V8_TARGET_ARCH_ARM
72 #include "src/arm/assembler-arm-inl.h" // NOLINT 72 #include "src/arm/assembler-arm-inl.h" // NOLINT
73 #elif V8_TARGET_ARCH_PPC 73 #elif V8_TARGET_ARCH_PPC
(...skipping 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after
1936 1936
1937 1937
1938 void Assembler::DataAlign(int m) { 1938 void Assembler::DataAlign(int m) {
1939 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1939 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1940 while ((pc_offset() & (m - 1)) != 0) { 1940 while ((pc_offset() & (m - 1)) != 0) {
1941 db(0); 1941 db(0);
1942 } 1942 }
1943 } 1943 }
1944 } // namespace internal 1944 } // namespace internal
1945 } // namespace v8 1945 } // namespace v8
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/collector.h » ('j') | src/snapshot/deserializer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698