@@ -190,12 +190,12 @@ void CodeSerializer::SerializeObject(HeapObject obj) {
190190 // bytecode array stored within the InterpreterData, which is the important
191191 // information. On deserialization we'll create our code objects again, if
192192 // --interpreted-frames-native-stack is on. See v8:9122 for more context
193- #if !defined( V8_TARGET_ARCH_ARM) && !defined(V8_TARGET_ARCH_S390X)
193+ #ifndef V8_TARGET_ARCH_ARM
194194 if (V8_UNLIKELY (FLAG_interpreted_frames_native_stack) &&
195195 obj.IsInterpreterData ()) {
196196 obj = InterpreterData::cast (obj).bytecode_array ();
197197 }
198- #endif // ! V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_S390X
198+ #endif // V8_TARGET_ARCH_ARM
199199
200200 // Past this point we should not see any (context-specific) maps anymore.
201201 CHECK (!obj.IsMap ());
@@ -215,7 +215,7 @@ void CodeSerializer::SerializeGeneric(HeapObject heap_object) {
215215 serializer.Serialize ();
216216}
217217
218- #if !defined( V8_TARGET_ARCH_ARM) && !defined(V8_TARGET_ARCH_S390X)
218+ #ifndef V8_TARGET_ARCH_ARM
219219// NOTE(mmarchini): when FLAG_interpreted_frames_native_stack is on, we want to
220220// create duplicates of InterpreterEntryTrampoline for the deserialized
221221// functions, otherwise we'll call the builtin IET for those functions (which
@@ -255,7 +255,7 @@ void CreateInterpreterDataForDeserializedCode(Isolate* isolate,
255255 column_num));
256256 }
257257}
258- #endif // ! V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_S390X
258+ #endif // V8_TARGET_ARCH_ARM
259259
260260MaybeHandle<SharedFunctionInfo> CodeSerializer::Deserialize (
261261 Isolate* isolate, ScriptData* cached_data, Handle<String> source,
@@ -301,11 +301,11 @@ MaybeHandle<SharedFunctionInfo> CodeSerializer::Deserialize(
301301 isolate->is_profiling () ||
302302 isolate->code_event_dispatcher ()->IsListeningToCodeEvents ();
303303
304- #if !defined( V8_TARGET_ARCH_ARM) && !defined(V8_TARGET_ARCH_S390X)
304+ #ifndef V8_TARGET_ARCH_ARM
305305 if (V8_UNLIKELY (FLAG_interpreted_frames_native_stack))
306306 CreateInterpreterDataForDeserializedCode (isolate, result,
307307 log_code_creation);
308- #endif // ! V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_S390X
308+ #endif // V8_TARGET_ARCH_ARM
309309
310310 bool needs_source_positions = isolate->NeedsSourcePositionsForProfiling ();
311311
0 commit comments