Lines Matching full:number

82   GENERATE(Token::ADD, INT32, INT32, NUMBER);  in GenerateAheadOfTime()
83 GENERATE(Token::ADD, INT32, NUMBER, NUMBER); in GenerateAheadOfTime()
85 GENERATE(Token::ADD, NUMBER, INT32, NUMBER); in GenerateAheadOfTime()
86 GENERATE(Token::ADD, NUMBER, NUMBER, NUMBER); in GenerateAheadOfTime()
87 GENERATE(Token::ADD, NUMBER, SMI, NUMBER); in GenerateAheadOfTime()
89 GENERATE(Token::ADD, SMI, INT32, NUMBER); in GenerateAheadOfTime()
90 GENERATE(Token::ADD, SMI, NUMBER, NUMBER); in GenerateAheadOfTime()
97 GENERATE(Token::BIT_AND, NUMBER, INT32, INT32); in GenerateAheadOfTime()
98 GENERATE(Token::BIT_AND, NUMBER, SMI, SMI); in GenerateAheadOfTime()
101 GENERATE(Token::BIT_AND, SMI, NUMBER, SMI); in GenerateAheadOfTime()
107 GENERATE(Token::BIT_OR, NUMBER, SMI, INT32); in GenerateAheadOfTime()
108 GENERATE(Token::BIT_OR, NUMBER, SMI, SMI); in GenerateAheadOfTime()
114 GENERATE(Token::BIT_XOR, INT32, NUMBER, SMI); in GenerateAheadOfTime()
116 GENERATE(Token::BIT_XOR, NUMBER, INT32, INT32); in GenerateAheadOfTime()
117 GENERATE(Token::BIT_XOR, NUMBER, SMI, INT32); in GenerateAheadOfTime()
118 GENERATE(Token::BIT_XOR, NUMBER, SMI, SMI); in GenerateAheadOfTime()
123 GENERATE(Token::DIV, INT32, INT32, NUMBER); in GenerateAheadOfTime()
124 GENERATE(Token::DIV, INT32, NUMBER, NUMBER); in GenerateAheadOfTime()
126 GENERATE(Token::DIV, INT32, SMI, NUMBER); in GenerateAheadOfTime()
127 GENERATE(Token::DIV, NUMBER, INT32, NUMBER); in GenerateAheadOfTime()
128 GENERATE(Token::DIV, NUMBER, NUMBER, NUMBER); in GenerateAheadOfTime()
129 GENERATE(Token::DIV, NUMBER, SMI, NUMBER); in GenerateAheadOfTime()
131 GENERATE(Token::DIV, SMI, INT32, NUMBER); in GenerateAheadOfTime()
132 GENERATE(Token::DIV, SMI, NUMBER, NUMBER); in GenerateAheadOfTime()
133 GENERATE(Token::DIV, SMI, SMI, NUMBER); in GenerateAheadOfTime()
135 GENERATE(Token::MOD, NUMBER, SMI, NUMBER); in GenerateAheadOfTime()
138 GENERATE(Token::MUL, INT32, INT32, NUMBER); in GenerateAheadOfTime()
139 GENERATE(Token::MUL, INT32, NUMBER, NUMBER); in GenerateAheadOfTime()
141 GENERATE(Token::MUL, INT32, SMI, NUMBER); in GenerateAheadOfTime()
142 GENERATE(Token::MUL, NUMBER, INT32, NUMBER); in GenerateAheadOfTime()
143 GENERATE(Token::MUL, NUMBER, NUMBER, NUMBER); in GenerateAheadOfTime()
144 GENERATE(Token::MUL, NUMBER, SMI, NUMBER); in GenerateAheadOfTime()
146 GENERATE(Token::MUL, SMI, INT32, NUMBER); in GenerateAheadOfTime()
147 GENERATE(Token::MUL, SMI, NUMBER, NUMBER); in GenerateAheadOfTime()
149 GENERATE(Token::MUL, SMI, SMI, NUMBER); in GenerateAheadOfTime()
153 GENERATE(Token::SAR, NUMBER, SMI, SMI); in GenerateAheadOfTime()
157 GENERATE(Token::SHL, NUMBER, SMI, SMI); in GenerateAheadOfTime()
161 GENERATE(Token::SHR, NUMBER, SMI, INT32); in GenerateAheadOfTime()
162 GENERATE(Token::SHR, NUMBER, SMI, SMI); in GenerateAheadOfTime()
165 GENERATE(Token::SUB, INT32, NUMBER, NUMBER); in GenerateAheadOfTime()
167 GENERATE(Token::SUB, NUMBER, INT32, NUMBER); in GenerateAheadOfTime()
168 GENERATE(Token::SUB, NUMBER, NUMBER, NUMBER); in GenerateAheadOfTime()
169 GENERATE(Token::SUB, NUMBER, SMI, NUMBER); in GenerateAheadOfTime()
171 GENERATE(Token::SUB, SMI, NUMBER, NUMBER); in GenerateAheadOfTime()
198 } else if (result_kind == NUMBER && op_ == Token::SHR) { in GetResultType()
240 if (result_kind_ < input_kind && input_kind <= NUMBER) { in Update()
245 // We don't want to distinguish INT32 and NUMBER for string add (because in Update()
250 right_kind_ = NUMBER; in Update()
254 left_kind_ = NUMBER; in Update()
278 new_kind = is_truncating ? INT32 : NUMBER; in UpdateKind()
283 new_kind = IsInt32Double(value) ? INT32 : NUMBER; in UpdateKind()
288 new_kind = NUMBER; in UpdateKind()
290 if (kind != NONE && ((new_kind <= NUMBER && kind > NUMBER) || in UpdateKind()
291 (new_kind > NUMBER && kind <= NUMBER))) { in UpdateKind()
307 case NUMBER: in KindToString()
308 return "Number"; in KindToString()
328 case NUMBER: in KindToType()
329 return AstType::Number(); in KindToType()
348 case NUMBER: in GetStateName()
349 return "NUMBER"; in GetStateName()
375 case NUMBER: in StateToType()
376 return AstType::Number(); in StateToType()
401 if (value->IsHeapNumber()) return NUMBER; in NewInputState()
414 if (value->IsHeapNumber()) return NUMBER; in NewInputState()
416 case NUMBER: in NewInputState()
417 if (value->IsNumber()) return NUMBER; in NewInputState()
454 if (x->IsNumber() && y->IsNumber()) return NUMBER; in TargetState()
457 // NUMBER stub will do the right thing. in TargetState()
460 return NUMBER; in TargetState()
484 return x->IsNumber() && y->IsNumber() ? NUMBER : GENERIC; in TargetState()
490 case NUMBER: in TargetState()
491 // If the failure was due to one side changing from smi to heap number, in TargetState()
494 if (old_left == SMI && x->IsHeapNumber()) return NUMBER; in TargetState()
495 if (old_right == SMI && y->IsHeapNumber()) return NUMBER; in TargetState()