Commit 3795e97 1 parent 2b1e7c2 commit 3795e97 Copy full SHA for 3795e97
File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 37
37
38
38
# Reset this number to 0 on major V8 upgrades.
39
39
# Increment by one for each non-official patch applied to deps/v8.
40
- 'v8_embedder_string' : '-node.7 ' ,
40
+ 'v8_embedder_string' : '-node.8 ' ,
41
41
42
42
##### V8 defaults for Node.js #####
43
43
288
288
'/Zc:__cplusplus' ,
289
289
# The following option enables c++20 on Windows. This is needed for V8 v12.4+
290
290
'-std:c++20' ,
291
+ # The following option reduces the "error C1060: compiler is out of heap space"
292
+ '/Zm2000' ,
291
293
],
292
294
'BufferSecurityCheck' : 'true' ,
293
295
'DebugInformationFormat' : 1 , # /Z7 embed info in .obj files
Original file line number Diff line number Diff line change @@ -855,12 +855,13 @@ struct TurboshaftAdapter : public turboshaft::OperationMatcher {
855
855
*traps_on_null = load_->kind .trap_on_null ;
856
856
#if V8_ENABLE_WEBASSEMBLY
857
857
} else {
858
- DCHECK ((load_transform_ && !load_transform_->load_kind .trap_on_null )
859
858
#if V8_ENABLE_WASM_SIMD256_REVEC
859
+ DCHECK ((load_transform_ && !load_transform_->load_kind .trap_on_null )
860
860
|| (load_transform256_ &&
861
- !load_transform256_->load_kind .trap_on_null )
861
+ !load_transform256_->load_kind .trap_on_null ));
862
+ #else
863
+ DCHECK ((load_transform_ && !load_transform_->load_kind .trap_on_null ));
862
864
#endif // V8_ENABLE_WASM_SIMD256_REVEC
863
- );
864
865
*traps_on_null = false ;
865
866
#endif // V8_ENABLE_WEBASSEMBLY
866
867
}
Original file line number Diff line number Diff line change @@ -100,12 +100,10 @@ static_assert(sizeof(UnalignedDoubleMember) == sizeof(double));
100
100
#define FLEXIBLE_ARRAY_MEMBER (Type, name ) \
101
101
using FlexibleDataReturnType = Type[0 ]; \
102
102
FlexibleDataReturnType& name () { \
103
- static_assert (alignof (Type) <= alignof (decltype (*this ))); \
104
103
using ReturnType = Type[0 ]; \
105
104
return reinterpret_cast <ReturnType&>(*(this + 1 )); \
106
105
} \
107
106
const FlexibleDataReturnType& name () const { \
108
- static_assert (alignof (Type) <= alignof (decltype (*this ))); \
109
107
using ReturnType = Type[0 ]; \
110
108
return reinterpret_cast <const ReturnType&>(*(this + 1 )); \
111
109
} \
You can’t perform that action at this time.
0 commit comments