/external/v8/src/ |
D | preparse-data.cc | 69 STATIC_ASSERT(PreparseDataConstants::kMessageStartPos == 0); in LogMessage() 71 STATIC_ASSERT(PreparseDataConstants::kMessageEndPos == 1); in LogMessage() 73 STATIC_ASSERT(PreparseDataConstants::kMessageArgCountPos == 2); in LogMessage() 75 STATIC_ASSERT(PreparseDataConstants::kMessageTextPos == 3); in LogMessage()
|
D | scanner.h | 59 STATIC_ASSERT((kLanguageModeMask & CLASSIC_MODE) == CLASSIC_MODE); 60 STATIC_ASSERT((kLanguageModeMask & STRICT_MODE) == STRICT_MODE); 61 STATIC_ASSERT((kLanguageModeMask & EXTENDED_MODE) == EXTENDED_MODE); 450 STATIC_ASSERT(kCharacterLookaheadBufferSize == 1); in Init()
|
D | small-pointer-list.h | 168 STATIC_ASSERT(kTagMask + 1 <= kPointerAlignment); 172 STATIC_ASSERT(kSingletonTag == 0); in single_value()
|
D | hashmap.h | 299 STATIC_ASSERT(sizeof(Key*) == sizeof(void*)); // NOLINT 300 STATIC_ASSERT(sizeof(Value*) == sizeof(void*)); // NOLINT
|
D | objects-visiting.h | 118 STATIC_ASSERT(kVisitorIdCount <= 256); 188 STATIC_ASSERT( in RegisterSpecializations()
|
D | atomicops_internals_x86_msvc.h | 121 STATIC_ASSERT(sizeof(Atomic64) == sizeof(PVOID));
|
D | ic.h | 389 STATIC_ASSERT(kGrowICDelta == 392 STATIC_ASSERT(kGrowICDelta == 395 STATIC_ASSERT(kGrowICDelta ==
|
D | scanner.cc | 89 STATIC_ASSERT(Token::NUM_TOKENS <= 0x100); 903 STATIC_ASSERT(keyword_length >= kMinLength); \ in KeywordOrIdentifierToken() 904 STATIC_ASSERT(keyword_length <= kMaxLength); \ in KeywordOrIdentifierToken()
|
/external/v8/src/ia32/ |
D | code-stubs-ia32.cc | 308 STATIC_ASSERT(kPointerSize == 4); in Generate() 309 STATIC_ASSERT(kSmiTagSize == 1); in Generate() 310 STATIC_ASSERT(kSmiTag == 0); in Generate() 384 STATIC_ASSERT(kPointerSize == 4); in Generate() 385 STATIC_ASSERT(kSmiTagSize == 1); in Generate() 386 STATIC_ASSERT(kSmiTag == 0); in Generate() 1021 STATIC_ASSERT(kSmiTagSize == 1); in GenerateHeapNumberCodeBitNot() 1277 STATIC_ASSERT(kSmiTag == 0); // Adjust zero check if not the case. in GenerateSmiCode() 1357 STATIC_ASSERT(kSmiTag == 0); // Adjust code below if not the case. in GenerateSmiCode() 1385 STATIC_ASSERT(kSmiTag == 0 && kSmiTagSize == 1); in GenerateSmiCode() [all …]
|
D | macro-assembler-ia32.cc | 385 STATIC_ASSERT(FAST_SMI_ONLY_ELEMENTS == 0); in CheckFastElements() 386 STATIC_ASSERT(FAST_ELEMENTS == 1); in CheckFastElements() 396 STATIC_ASSERT(FAST_SMI_ONLY_ELEMENTS == 0); in CheckFastObjectElements() 397 STATIC_ASSERT(FAST_ELEMENTS == 1); in CheckFastObjectElements() 410 STATIC_ASSERT(FAST_SMI_ONLY_ELEMENTS == 0); in CheckFastSmiOnlyElements() 555 STATIC_ASSERT(kNotStringTag != 0); in IsObjectStringType() 770 STATIC_ASSERT(StackHandlerConstants::kSize == 5 * kPointerSize); in PushTryHandler() 771 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0); in PushTryHandler() 772 STATIC_ASSERT(StackHandlerConstants::kCodeOffset == 1 * kPointerSize); in PushTryHandler() 773 STATIC_ASSERT(StackHandlerConstants::kStateOffset == 2 * kPointerSize); in PushTryHandler() [all …]
|
D | builtins-ia32.cc | 361 STATIC_ASSERT(kSmiTagSize == 1 && kSmiTag == 0); in Generate_JSConstructStubHelper() 616 STATIC_ASSERT(LAST_SPEC_OBJECT_TYPE == LAST_TYPE); in Generate_FunctionCall() 809 STATIC_ASSERT(LAST_SPEC_OBJECT_TYPE == LAST_TYPE); in Generate_FunctionApply() 900 STATIC_ASSERT(initial_capacity >= 0); in AllocateEmptyJSArray() 1009 STATIC_ASSERT(kSmiTagSize == 1 && kSmiTag == 0); in AllocateJSArray() 1133 STATIC_ASSERT(kSmiTag == 0); in ArrayNativeCode() 1188 STATIC_ASSERT(kSmiTag == 0); in ArrayNativeCode() 1489 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode() 1498 STATIC_ASSERT(kSmiTag == 0); in Generate_StringConstructCode() 1554 STATIC_ASSERT(kSmiTagSize == 1); in EnterArgumentsAdaptorFrame() [all …]
|
D | macro-assembler-ia32.h | 436 STATIC_ASSERT(kSmiTag == 0); in SmiTag() 437 STATIC_ASSERT(kSmiTagSize == 1); in SmiTag() 446 STATIC_ASSERT(kSmiTagSize == 1); in SmiUntag() 448 STATIC_ASSERT(kSmiTag == 0); in SmiUntag()
|
D | codegen-ia32.cc | 687 STATIC_ASSERT(kSeqStringTag == 0); in Generate() 704 STATIC_ASSERT(kTwoByteStringTag == 0); in Generate() 719 STATIC_ASSERT((kStringEncodingMask & kAsciiStringTag) != 0); in Generate() 720 STATIC_ASSERT((kStringEncodingMask & kTwoByteStringTag) == 0); in Generate()
|
/external/v8/src/x64/ |
D | codegen-x64.cc | 296 STATIC_ASSERT(FixedDoubleArray::kLengthOffset == FixedArray::kLengthOffset); in GenerateSmiOnlyToDouble() 297 STATIC_ASSERT(FixedDoubleArray::kHeaderSize == FixedArray::kHeaderSize); in GenerateSmiOnlyToDouble() 522 STATIC_ASSERT(kSeqStringTag == 0); in Generate() 539 STATIC_ASSERT(kTwoByteStringTag == 0); in Generate() 554 STATIC_ASSERT((kStringEncodingMask & kAsciiStringTag) != 0); in Generate() 555 STATIC_ASSERT((kStringEncodingMask & kTwoByteStringTag) == 0); in Generate() 561 STATIC_ASSERT(kSmiTag == 0 && kSmiTagSize == 1); in Generate()
|
D | code-stubs-x64.cc | 1201 STATIC_ASSERT(kSmiValueSize == 32); in GenerateFloatingPointCode() 2409 STATIC_ASSERT(Heap::kArgumentsCalleeIndex == 1); in GenerateNewNonStrictFast() 2417 STATIC_ASSERT(Heap::kArgumentsLengthIndex == 0); in GenerateNewNonStrictFast() 2612 STATIC_ASSERT(Heap::kArgumentsLengthIndex == 0); in GenerateNewStrict() 2753 STATIC_ASSERT(FixedArray::kMaxLength < kMaxInt - FixedArray::kLengthOffset); in Generate() 2774 STATIC_ASSERT((kStringTag | kSeqStringTag | kTwoByteStringTag) == 0); in Generate() 2792 STATIC_ASSERT(kConsStringTag < kExternalStringTag); in Generate() 2793 STATIC_ASSERT(kSlicedStringTag > kExternalStringTag); in Generate() 2794 STATIC_ASSERT(kIsNotStringMask > kExternalStringTag); in Generate() 2795 STATIC_ASSERT(kShortExternalStringTag > kExternalStringTag); in Generate() [all …]
|
D | macro-assembler-x64.cc | 958 STATIC_ASSERT(kSmiTag == 0); in Integer32ToSmi() 996 STATIC_ASSERT(kSmiTag == 0); in SmiToInteger32() 1010 STATIC_ASSERT(kSmiTag == 0); in SmiToInteger64() 1146 STATIC_ASSERT(kSmiTag == 0); in CheckSmi() 1153 STATIC_ASSERT(kSmiTag == 0); in CheckSmi() 1160 STATIC_ASSERT(kSmiTag == 0); in CheckNonNegativeSmi() 1173 STATIC_ASSERT(kSmiTag == 0 && kHeapObjectTag == 1 && kHeapObjectTagMask == 3); in CheckBothSmi() 1329 STATIC_ASSERT(kSmiTag == 0); in SmiTryAddConstant() 2033 STATIC_ASSERT(kSmiTag == 0); in SelectNonSmi() 2394 STATIC_ASSERT(11 == kNumSafepointSavedRegisters); in Pushad() [all …]
|
D | builtins-x64.cc | 349 STATIC_ASSERT(LAST_SPEC_OBJECT_TYPE == LAST_TYPE); in Generate_JSConstructStubHelper() 686 STATIC_ASSERT(LAST_SPEC_OBJECT_TYPE == LAST_TYPE); in Generate_FunctionCall() 885 STATIC_ASSERT(LAST_SPEC_OBJECT_TYPE == LAST_TYPE); in Generate_FunctionApply() 978 STATIC_ASSERT(initial_capacity >= 0); in AllocateEmptyJSArray() 1346 STATIC_ASSERT(kSmiTag == 0); in Generate_InternalArrayCode() 1381 STATIC_ASSERT(kSmiTag == 0); in Generate_ArrayCode() 1415 STATIC_ASSERT(kSmiTag == 0); in Generate_ArrayConstructCode() 1510 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode() 1519 STATIC_ASSERT(kSmiTag == 0); in Generate_StringConstructCode()
|
/external/v8/src/mips/ |
D | code-stubs-mips.cc | 472 STATIC_ASSERT(HeapNumber::kSignMask == 0x80000000u); in Generate() 1063 STATIC_ASSERT(HeapNumber::kSignMask == 0x80000000u); in Generate() 1461 STATIC_ASSERT(LAST_TYPE == LAST_SPEC_OBJECT_TYPE); in EmitStrictTwoHeapObjectCompare() 1486 STATIC_ASSERT(LAST_TYPE < kNotStringTag + kIsSymbolMask); in EmitStrictTwoHeapObjectCompare() 1487 STATIC_ASSERT(kSymbolTag != 0); in EmitStrictTwoHeapObjectCompare() 1539 STATIC_ASSERT(kSymbolTag != 0); in EmitCheckForSymbolsOrObjects() 1611 STATIC_ASSERT(8 == kDoubleSize); in GenerateLookupNumberStringCache() 1717 STATIC_ASSERT(kSmiTag == 0); in Generate() 2385 STATIC_ASSERT(kSmiTag == 0); in GenerateSmiSmiOperation() 2760 STATIC_ASSERT(kSmiTag == 0); in GenerateSmiCode() [all …]
|
D | builtins-mips.cc | 120 STATIC_ASSERT(initial_capacity >= 0); in AllocateEmptyJSArray() 168 STATIC_ASSERT(0 * kPointerSize == FixedArray::kMapOffset); in AllocateEmptyJSArray() 172 STATIC_ASSERT(1 * kPointerSize == FixedArray::kLengthOffset); in AllocateEmptyJSArray() 177 STATIC_ASSERT(2 * kPointerSize == FixedArray::kHeaderSize); in AllocateEmptyJSArray() 226 STATIC_ASSERT(kSmiTagSize == 1 && kSmiTag == 0); in AllocateJSArray() 276 STATIC_ASSERT(kSmiTag == 0); in AllocateJSArray() 286 STATIC_ASSERT(kSmiTag == 0 && kSmiTagSize < kPointerSizeLog2); in AllocateJSArray() 350 STATIC_ASSERT(kSmiTag == 0); in ArrayNativeCode() 363 STATIC_ASSERT(kSmiTag == 0); in ArrayNativeCode() 662 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode() [all …]
|
D | macro-assembler-mips.cc | 2750 STATIC_ASSERT(StackHandlerConstants::kSize == 5 * kPointerSize); in PushTryHandler() 2751 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize); in PushTryHandler() 2752 STATIC_ASSERT(StackHandlerConstants::kCodeOffset == 1 * kPointerSize); in PushTryHandler() 2753 STATIC_ASSERT(StackHandlerConstants::kStateOffset == 2 * kPointerSize); in PushTryHandler() 2754 STATIC_ASSERT(StackHandlerConstants::kContextOffset == 3 * kPointerSize); in PushTryHandler() 2755 STATIC_ASSERT(StackHandlerConstants::kFPOffset == 4 * kPointerSize); in PushTryHandler() 2788 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0); in PopTryHandler() 2815 STATIC_ASSERT(StackHandlerConstants::kSize == 5 * kPointerSize); in Throw() 2816 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0); in Throw() 2817 STATIC_ASSERT(StackHandlerConstants::kCodeOffset == 1 * kPointerSize); in Throw() [all …]
|
D | codegen-mips.cc | 406 STATIC_ASSERT(kSeqStringTag == 0); in Generate() 411 STATIC_ASSERT(SeqTwoByteString::kHeaderSize == SeqAsciiString::kHeaderSize); in Generate() 434 STATIC_ASSERT(kTwoByteStringTag == 0); in Generate()
|
/external/v8/src/arm/ |
D | code-stubs-arm.cc | 471 STATIC_ASSERT(HeapNumber::kSignMask == 0x80000000u); in Generate() 1035 STATIC_ASSERT(HeapNumber::kSignMask == 0x80000000u); in Generate() 1388 STATIC_ASSERT(LAST_TYPE == LAST_SPEC_OBJECT_TYPE); in EmitStrictTwoHeapObjectCompare() 1414 STATIC_ASSERT(LAST_TYPE < kNotStringTag + kIsSymbolMask); in EmitStrictTwoHeapObjectCompare() 1415 STATIC_ASSERT(kSymbolTag != 0); in EmitStrictTwoHeapObjectCompare() 1466 STATIC_ASSERT(kSymbolTag != 0); in EmitCheckForSymbolsOrObjects() 1538 STATIC_ASSERT(8 == kDoubleSize); in GenerateLookupNumberStringCache() 1643 STATIC_ASSERT(kSmiTag == 0); in Generate() 2299 STATIC_ASSERT(kSmiTag == 0); in GenerateSmiSmiOperation() 2644 STATIC_ASSERT(kSmiTag == 0); in GenerateSmiCode() [all …]
|
D | macro-assembler-arm.cc | 1194 STATIC_ASSERT(StackHandlerConstants::kSize == 5 * kPointerSize); in PushTryHandler() 1195 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize); in PushTryHandler() 1196 STATIC_ASSERT(StackHandlerConstants::kCodeOffset == 1 * kPointerSize); in PushTryHandler() 1197 STATIC_ASSERT(StackHandlerConstants::kStateOffset == 2 * kPointerSize); in PushTryHandler() 1198 STATIC_ASSERT(StackHandlerConstants::kContextOffset == 3 * kPointerSize); in PushTryHandler() 1199 STATIC_ASSERT(StackHandlerConstants::kFPOffset == 4 * kPointerSize); in PushTryHandler() 1229 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0); in PopTryHandler() 1252 STATIC_ASSERT(StackHandlerConstants::kSize == 5 * kPointerSize); in Throw() 1253 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0); in Throw() 1254 STATIC_ASSERT(StackHandlerConstants::kCodeOffset == 1 * kPointerSize); in Throw() [all …]
|
D | builtins-arm.cc | 116 STATIC_ASSERT(initial_capacity >= 0); in AllocateEmptyJSArray() 165 STATIC_ASSERT(0 * kPointerSize == FixedArray::kMapOffset); in AllocateEmptyJSArray() 168 STATIC_ASSERT(1 * kPointerSize == FixedArray::kLengthOffset); in AllocateEmptyJSArray() 172 STATIC_ASSERT(2 * kPointerSize == FixedArray::kHeaderSize); in AllocateEmptyJSArray() 220 STATIC_ASSERT(kSmiTagSize == 1 && kSmiTag == 0); in AllocateJSArray() 255 STATIC_ASSERT(kSmiTag == 0); in AllocateJSArray() 267 STATIC_ASSERT(kSmiTag == 0); in AllocateJSArray() 276 STATIC_ASSERT(kSmiTag == 0 && kSmiTagSize < kPointerSizeLog2); in AllocateJSArray() 342 STATIC_ASSERT(kSmiTag == 0); in ArrayNativeCode() 356 STATIC_ASSERT(kSmiTag == 0); in ArrayNativeCode() [all …]
|
D | codegen-arm.cc | 395 STATIC_ASSERT(kSeqStringTag == 0); in Generate() 400 STATIC_ASSERT(SeqTwoByteString::kHeaderSize == SeqAsciiString::kHeaderSize); in Generate() 422 STATIC_ASSERT(kTwoByteStringTag == 0); in Generate()
|