Lines Matching full:macro
145 extern macro TheHoleConstant(): Oddball;
146 extern macro NullConstant(): Oddball;
147 extern macro UndefinedConstant(): Oddball;
148 extern macro TrueConstant(): Boolean;
149 extern macro FalseConstant(): Boolean;
150 extern macro Int32TrueConstant(): bool;
151 extern macro Int32FalseConstant(): bool;
172 extern macro Is64(): constexpr bool;
174 extern macro SelectBooleanConstant(bool): Boolean;
176 extern macro Print(constexpr string);
177 extern macro Print(constexpr string, Object);
178 extern macro Print(Object);
179 extern macro DebugBreak();
180 extern macro ToInteger_Inline(Context, Object): Number;
181 extern macro ToInteger_Inline(
183 extern macro ToLength_Inline(Context, Object): Number;
184 extern macro ToNumber_Inline(Context, Object): Number;
185 extern macro ToString_Inline(Context, Object): String;
186 extern macro GetProperty(Context, Object, Object): Object;
191 extern macro ThrowRangeError(Context, constexpr MessageTemplate): never;
192 extern macro ThrowTypeError(Context, constexpr MessageTemplate): never;
193 extern macro ThrowTypeError(Context, constexpr MessageTemplate, Object): never;
194 extern macro ThrowTypeError(
196 extern macro ArraySpeciesCreate(Context, Object, Number): Object;
197 extern macro EnsureArrayPushable(Map): ElementsKind labels Bailout;
200 extern macro ToObject_Inline(Context, Object): JSReceiver;
201 extern macro IsNullOrUndefined(Object): bool;
202 extern macro IsTheHole(Object): bool;
203 extern macro IsString(HeapObject): bool;
208 extern macro LoadRoot(constexpr RootListIndex): Object;
209 extern macro StoreRoot(constexpr RootListIndex, Object): Object;
210 extern macro LoadAndUntagToWord32Root(constexpr RootListIndex): int32;
215 extern macro StrictEqual(Object, Object): Boolean;
218 extern operator '<' macro Int32LessThan(int32, int32): bool;
219 extern operator '>' macro Int32GreaterThan(int32, int32): bool;
220 extern operator '<=' macro Int32LessThanOrEqual(int32, int32): bool;
221 extern operator '>=' macro Int32GreaterThanOrEqual(int32, int32): bool;
223 extern operator '==' macro SmiEqual(Smi, Smi): bool;
224 extern operator '!=' macro SmiNotEqual(Smi, Smi): bool;
225 extern operator '<' macro SmiLessThan(Smi, Smi): bool;
226 extern operator '<=' macro SmiLessThanOrEqual(Smi, Smi): bool;
227 extern operator '>' macro SmiGreaterThan(Smi, Smi): bool;
228 extern operator '>=' macro SmiGreaterThanOrEqual(Smi, Smi): bool;
230 extern operator '==' macro ElementsKindEqual(
232 extern operator '==' macro ElementsKindEqual(ElementsKind, ElementsKind): bool;
233 extern macro IsFastElementsKind(constexpr ElementsKind): constexpr bool;
234 extern macro IsDoubleElementsKind(constexpr ElementsKind): constexpr bool;
236 extern macro SmiAbove(Smi, Smi): bool;
238 extern operator '==' macro WordEqual(intptr, intptr): bool;
239 extern operator '==' macro WordEqual(uintptr, uintptr): bool;
240 extern operator '!=' macro WordNotEqual(intptr, intptr): bool;
241 extern operator '!=' macro WordNotEqual(uintptr, uintptr): bool;
242 extern operator '<' macro IntPtrLessThan(intptr, intptr): bool;
243 extern operator '>' macro IntPtrGreaterThan(intptr, intptr): bool;
244 extern operator '<=' macro IntPtrLessThanOrEqual(intptr, intptr): bool;
245 extern operator '>=' macro IntPtrGreaterThanOrEqual(intptr, intptr): bool;
246 extern operator '>=' macro UintPtrGreaterThanOrEqual(uintptr, uintptr): bool;
248 extern operator '==' macro Float64Equal(float64, float64): bool;
249 extern operator '!=' macro Float64NotEqual(float64, float64): bool;
252 '<' macro BranchIfNumberLessThan(Number, Number): never labels Taken, NotTaken;
254 '<=' macro BranchIfNumberLessThanOrEqual(Number, Number): never labels Taken,
257 '>' macro BranchIfNumberGreaterThan(Number, Number): never labels Taken,
259 extern operator '>=' macro BranchIfNumberGreaterThanOrEqual(Number, Number):
263 extern operator '==' macro WordEqual(Object, Object): bool;
264 extern operator '!=' macro WordNotEqual(Object, Object): bool;
266 extern operator '+' macro SmiAdd(Smi, Smi): Smi;
267 extern operator '-' macro SmiSub(Smi, Smi): Smi;
268 extern operator '&' macro SmiAnd(Smi, Smi): Smi;
269 extern operator '|' macro SmiOr(Smi, Smi): Smi;
270 extern operator '>>>' macro SmiShr(Smi, constexpr int31): Smi;
271 extern operator '<<' macro SmiShl(Smi, constexpr int31): Smi;
273 extern operator '+' macro IntPtrAdd(intptr, intptr): intptr;
274 extern operator '-' macro IntPtrSub(intptr, intptr): intptr;
275 extern operator '>>>' macro WordShr(uintptr, uintptr): uintptr;
276 extern operator '<<' macro WordShl(intptr, intptr): intptr;
277 extern operator '&' macro WordAnd(intptr, intptr): intptr;
278 extern operator '&' macro WordAnd(uintptr, uintptr): uintptr;
280 extern operator '+' macro Int32Add(int32, int32): int32;
281 extern operator '-' macro Int32Sub(int32, int32): int32;
282 extern operator '*' macro Int32Mul(int32, int32): int32;
283 extern operator '%' macro Int32Mod(int32, int32): int32;
284 extern operator '&' macro Word32And(int32, int32): int32;
285 extern operator '&' macro Word32And(uint32, uint32): uint32;
286 extern operator '==' macro
289 extern operator '==' macro Word32Equal(int32, int32): bool;
290 extern operator '==' macro Word32Equal(uint32, uint32): bool;
291 extern operator '!=' macro Word32NotEqual(int32, int32): bool;
292 extern operator '!=' macro Word32NotEqual(uint32, uint32): bool;
293 extern operator '>>>' macro Word32Shr(uint32, uint32): uint32;
294 extern operator '<<' macro Word32Shl(int32, int32): int32;
295 extern operator '<<' macro Word32Shl(uint32, uint32): uint32;
296 extern operator '|' macro Word32Or(int32, int32): int32;
297 extern operator '|' macro Word32Or(uint32, uint32): uint32;
299 extern operator '+' macro NumberAdd(Number, Number): Number;
300 extern operator '-' macro NumberSub(Number, Number): Number;
301 extern macro NumberMin(Number, Number): Number;
302 extern macro NumberMax(Number, Number): Number;
303 macro min(x: Number, y: Number): Number {
306 macro max(x: Number, y: Number): Number {
310 extern macro SmiMax(Smi, Smi): Smi;
311 extern macro SmiMin(Smi, Smi): Smi;
313 extern operator '!' macro ConstexprBoolNot(constexpr bool): constexpr bool;
314 extern operator '!' macro Word32BinaryNot(bool): bool;
315 extern operator '!' macro IsFalse(Boolean): bool;
317 extern operator '.map' macro LoadMap(HeapObject): Map;
318 extern operator '.map=' macro StoreMap(HeapObject, Map);
320 '.instanceType' macro LoadInstanceType(HeapObject): InstanceType;
322 extern operator '.length' macro LoadStringLengthAsWord(String): intptr;
324 extern operator '.length' macro GetArgumentsLength(constexpr Arguments): intptr;
326 '[]' macro GetArgumentValue(constexpr Arguments, intptr): Object;
328 extern operator 'is<Smi>' macro TaggedIsSmi(Object): bool;
329 extern operator 'isnt<Smi>' macro TaggedIsNotSmi(Object): bool;
330 extern macro TaggedIsPositiveSmi(Object): bool;
332 extern macro HeapObjectToJSDataView(HeapObject): JSDataView labels CastError;
333 extern macro TaggedToHeapObject(Object): HeapObject labels CastError;
334 extern macro TaggedToSmi(Object): Smi labels CastError;
335 extern macro HeapObjectToJSArray(HeapObject): JSArray labels CastError;
336 extern macro HeapObjectToCallable(HeapObject): Callable labels CastError;
337 extern macro HeapObjectToFixedArray(HeapObject):
339 extern macro HeapObjectToFixedDoubleArray(HeapObject):
341 extern macro TaggedToNumber(Object): Number labels CastError;
343 macro cast_HeapObject<A : type>(o : HeapObject) : A labels CastError;
361 macro cast<A : type>(o: HeapObject): A labels CastError {
367 macro cast<A : type>(o: Object): A labels CastError {
378 extern macro AllocateHeapNumberWithValue(float64): HeapNumber;
379 extern macro ChangeInt32ToTagged(int32): Number;
380 extern macro ChangeUint32ToTagged(uint32): Number;
381 extern macro Unsigned(int32): uint32;
382 extern macro Unsigned(intptr): uintptr;
383 extern macro Unsigned(RawPtr): uintptr;
384 extern macro Signed(uint32): int32;
385 extern macro Signed(uintptr): intptr;
386 extern macro Signed(RawPtr): intptr;
387 extern macro TruncateIntPtrToInt32(intptr): int32;
388 extern macro SmiTag(intptr): Smi;
389 extern macro SmiFromInt32(int32): Smi;
390 extern macro SmiUntag(Smi): intptr;
391 extern macro SmiToInt32(Smi): int32;
392 extern macro RoundIntPtrToFloat64(intptr): float64;
393 extern macro LoadHeapNumberValue(HeapNumber): float64;
394 extern macro ChangeFloat32ToFloat64(float32): float64;
395 extern macro ChangeNumberToFloat64(Number): float64;
396 extern macro ChangeFloat64ToUintPtr(float64): uintptr;
397 extern macro ChangeInt32ToIntPtr(int32): intptr; // Sign-extends.
398 extern macro ChangeUint32ToWord(uint32): uintptr; // Doesn't sign-extend.
400 extern macro NumberConstant(constexpr float64): Number;
401 extern macro NumberConstant(constexpr int32): Number;
402 extern macro IntPtrConstant(constexpr int31): intptr;
403 extern macro IntPtrConstant(constexpr int32): intptr;
404 extern macro Int32Constant(constexpr int31): int31;
405 extern macro Int32Constant(constexpr int32): int32;
406 extern macro Float64Constant(constexpr int31): float64;
407 extern macro SmiConstant(constexpr int31): Smi;
408 extern macro BoolConstant(constexpr bool): bool;
409 extern macro StringConstant(constexpr string): String;
410 extern macro LanguageModeConstant(constexpr LanguageMode): LanguageMode;
411 extern macro Int32Constant(constexpr ElementsKind): ElementsKind;
413 macro from_constexpr<A : type>(o: constexpr int31): A;
438 macro from_constexpr<A : type>(o: constexpr int32): A;
448 macro from_constexpr<A : type>(o: constexpr float64): A;
452 macro from_constexpr<A : type>(b: constexpr bool): A;
456 macro from_constexpr<A : type>(l: constexpr LanguageMode): A;
460 macro from_constexpr<A : type>(e: constexpr ElementsKind): A;
464 macro from_constexpr<A : type>(s: constexpr string): A;
472 macro convert<A : type>(i: constexpr int31): A {
475 macro convert<A : type>(i: int32): A;
485 macro convert<A : type>(ui: uint32): A;
495 macro convert<A : type>(i: intptr): A;
502 macro convert<A : type>(ui: uintptr): A;
506 macro convert<A : type>(s: Smi): A;
513 macro convert<A : type>(h: HeapNumber): A;
517 macro convert<A : type>(n: Number): A;
521 macro convert<A : type>(f: float32): A;
525 macro convert<A : type>(d: float64): A;
532 macro convert<A : type>(r: RawPtr): A;
540 extern macro UnsafeCastNumberToHeapNumber(Number): HeapNumber;
541 extern macro UnsafeCastObjectToFixedArrayBase(Object): FixedArrayBase;
542 extern macro UnsafeCastObjectToFixedArray(Object): FixedArray;
543 extern macro UnsafeCastObjectToFixedDoubleArray(Object): FixedDoubleArray;
544 extern macro UnsafeCastObjectToHeapNumber(Object): HeapNumber;
545 extern macro UnsafeCastObjectToCallable(Object): Callable;
546 extern macro UnsafeCastObjectToSmi(Object): Smi;
547 extern macro UnsafeCastObjectToNumber(Object): Number;
548 extern macro UnsafeCastObjectToHeapObject(Object): HeapObject;
549 extern macro UnsafeCastObjectToJSArray(Object): JSArray;
550 extern macro UnsafeCastObjectToFixedTypedArrayBase(Object): FixedTypedArrayBase;
551 extern macro UnsafeCastObjectToNumberDictionary(Object): NumberDictionary;
552 extern macro UnsafeCastObjectToJSReceiver(Object): JSReceiver;
553 extern macro UnsafeCastObjectToJSObject(Object): JSObject;
554 extern macro UnsafeCastObjectToMap(Object): Map;
556 macro unsafe_cast<A : type>(n: Number): A;
560 macro unsafe_cast<A : type>(o: Object): A;
608 extern macro BranchIfFastJSArray(Object, Context): never labels Taken, NotTaken;
609 extern macro BranchIfNotFastJSArray(Object, Context): never labels Taken,
612 extern macro IsPrototypeInitialArrayPrototype(Context, Map): bool;
613 extern macro IsNoElementsProtectorCellInvalid(): bool;
614 extern macro IsArraySpeciesProtectorCellInvalid(): bool;
615 extern macro IsTypedArraySpeciesProtectorCellInvalid(): bool;
616 extern macro IsPromiseSpeciesProtectorCellInvalid(): bool;
619 '.buffer' macro LoadTypedArrayBuffer(JSTypedArray): JSArrayBuffer;
621 extern operator '.data_ptr' macro LoadDataPtr(JSTypedArray): RawPtr;
623 extern operator '.elements_kind' macro LoadMapElementsKind(Map): ElementsKind;
625 '.elements_kind' macro LoadElementsKind(JSTypedArray): ElementsKind;
627 extern operator '.elements' macro LoadElements(JSObject): FixedArrayBase;
628 extern operator '.elements=' macro StoreElements(JSObject, FixedArrayBase);
630 extern operator '.length' macro LoadTypedArrayLength(JSTypedArray): Smi;
631 extern operator '.length' macro LoadJSArrayLength(JSArray): Number;
632 extern operator '.length_fast' macro LoadFastJSArrayLength(JSArray): Smi;
633 extern operator '.length=' macro StoreJSArrayLength(JSArray, Smi);
635 extern operator '.length' macro LoadFixedArrayBaseLength(FixedArrayBase): Smi;
636 extern operator '[]' macro LoadFixedArrayElement(FixedArray, intptr): Object;
637 extern operator '[]' macro LoadFixedArrayElement(FixedArray, Smi): Object;
639 '[]' macro LoadFixedArrayElement(FixedArray, constexpr int31): Object;
641 '[]=' macro StoreFixedArrayElement(FixedArray, intptr, Object): void;
643 '[]=' macro StoreFixedArrayElement(
646 '[]=' macro StoreFixedArrayElementSmi(FixedArray, Smi, Object): void;
648 extern macro StoreFixedArrayElementSmi(FixedArray, Smi, Object,
651 extern operator '.instance_type' macro LoadMapInstanceType(Map): int32;
653 extern macro LoadFixedDoubleArrayElement(FixedDoubleArray, Smi): float64;
654 extern macro Float64SilenceNaN(float64): float64;
656 extern macro StoreFixedDoubleArrayElement(
658 macro StoreFixedDoubleArrayElementWithSmiIndex(
663 extern macro BasicLoadNumberDictionaryElement(NumberDictionary, intptr):
666 extern macro BasicStoreNumberDictionaryElement(NumberDictionary, intptr, Object)
669 extern macro IsFastElementsKind(ElementsKind): bool;
670 extern macro IsDoubleElementsKind(ElementsKind): bool;
671 extern macro IsFastSmiOrTaggedElementsKind(ElementsKind): bool;
672 extern macro IsFastSmiElementsKind(ElementsKind): bool;
673 extern macro IsHoleyFastElementsKind(ElementsKind): bool;
675 extern macro AllocateZeroedFixedArray(intptr): FixedArray;
676 extern macro AllocateZeroedFixedDoubleArray(intptr): FixedDoubleArray;
678 extern macro CopyFixedArrayElements(
681 extern macro CopyFixedArrayElements(
685 extern macro AllocateJSArray(constexpr ElementsKind, Map, intptr, Smi): JSArray;
686 extern macro AllocateJSArray(constexpr ElementsKind, Map, Smi, Smi): JSArray;
687 extern macro IsElementsKindGreaterThan(
690 extern macro LoadDoubleWithHoleCheck(FixedDoubleArray, Smi): float64
693 extern macro Call(Context, Callable, Object): Object;
694 extern macro Call(Context, Callable, Object, Object): Object;
695 extern macro Call(Context, Callable, Object, Object, Object): Object;
696 extern macro Call(Context, Callable, Object, Object, Object, Object): Object;
697 extern macro Call(
699 extern macro Call(
702 extern macro ExtractFixedArray(
707 macro LoadElementNoHole<T : type>(a: JSArray, index: Smi): Object labels IfHole;
738 extern macro IsCallable(HeapObject): bool;
739 extern macro IsJSArray(HeapObject): bool;
740 extern macro TaggedIsCallable(Object): bool;
741 extern macro IsDetachedBuffer(JSArrayBuffer): bool;
742 extern macro IsHeapNumber(HeapObject): bool;
743 extern macro IsFixedArray(HeapObject): bool;
744 extern macro IsExtensibleMap(Map): bool;
745 extern macro IsCustomElementsReceiverInstanceType(int32): bool;
746 extern macro Typeof(Object): Object;
749 macro NumberIsNaN(number: Number): bool {
760 extern macro BranchIfToBooleanIsTrue(Object): never labels Taken, NotTaken;
762 macro ToBoolean(obj: Object): bool {
770 macro ToIndex(input: Object, context: Context): Number labels RangeError {