Home | History | Annotate | Download | only in interpreter

Lines Matching full:static_cast

44         return static_cast<uint32_t>(
50 return static_cast<uint32_t>(operand);
149 int bytecode_size = static_cast<int>(bytecodes_.size());
168 DCHECK_EQ(Bytecodes::NumberOfOperands(bytecode), static_cast<int>(N));
171 for (int i = 0; i < static_cast<int>(N); i++) {
177 bytecodes()->push_back(static_cast<uint8_t>(operands[i]));
281 Output(Bytecode::kLdaSmi8, static_cast<uint8_t>(raw_smi));
292 Output(Bytecode::kLdaConstant, static_cast<uint8_t>(entry));
294 Output(Bytecode::kLdaConstantWide, static_cast<uint16_t>(entry));
397 Output(bytecode, static_cast<uint8_t>(name_index),
398 static_cast<uint8_t>(feedback_slot));
401 Output(BytecodeForWideOperands(bytecode), static_cast<uint16_t>(name_index),
402 static_cast<uint16_t>(feedback_slot));
415 Output(bytecode, static_cast<uint8_t>(name_index),
416 static_cast<uint8_t>(feedback_slot));
419 Output(BytecodeForWideOperands(bytecode), static_cast<uint16_t>(name_index),
420 static_cast<uint16_t>(feedback_slot));
433 static_cast<uint8_t>(slot_index));
436 static_cast<uint16_t>(slot_index));
449 static_cast<uint8_t>(slot_index));
452 static_cast<uint16_t>(slot_index));
467 Output(bytecode, static_cast<uint8_t>(name_index));
470 static_cast<uint16_t>(name_index));
483 Output(bytecode, static_cast<uint8_t>(name_index));
486 static_cast<uint16_t>(name_index));
500 Output(bytecode, object.ToOperand(), static_cast<uint8_t>(name_index),
501 static_cast<uint8_t>(feedback_slot));
505 static_cast<uint16_t>(name_index),
506 static_cast<uint16_t>(feedback_slot));
518 Output(bytecode, object.ToOperand(), static_cast
521 static_cast<uint16_t>(feedback_slot));
535 Output(bytecode, object.ToOperand(), static_cast<uint8_t>(name_index),
536 static_cast<uint8_t>(feedback_slot));
540 static_cast<uint16_t>(name_index),
541 static_cast<uint16_t>(feedback_slot));
555 static_cast<uint8_t>(feedback_slot));
558 key.ToOperand(), static_cast<uint16_t>(feedback_slot));
571 Output(Bytecode::kCreateClosure, static_cast<uint8_t>(entry),
572 static_cast<uint8_t>(tenured));
574 Output(Bytecode::kCreateClosureWide, static_cast<uint16_t>(entry),
575 static_cast<uint8_t>(tenured));
599 Output(Bytecode::kCreateRegExpLiteral, static_cast<uint8_t>(pattern_entry),
600 static_cast<uint8_t>(literal_index), static_cast<uint8_t>(flags));
604 static_cast<uint16_t>(pattern_entry),
605 static_cast<uint16_t>(literal_index), static_cast<uint8_t>(flags));
620 static_cast<uint8_t>(constant_elements_entry),
621 static_cast<uint8_t>(literal_index), static_cast<uint8_t>(flags));
625 static_cast<uint16_t>(constant_elements_entry),
626 static_cast<uint16_t>(literal_index), static_cast<uint8_t>(flags));
641 static_cast<uint8_t>(constant_properties_entry),
642 static_cast<uint8_t>(literal_index), static_cast<uint8_t>(flags));
646 static_cast<uint16_t>(constant_properties_entry),
647 static_cast<uint16_t>(literal_index), static_cast<uint8_t>(flags));
775 return static_cast<Bytecode>(-1);
800 return static_cast<Bytecode>(-1);
819 return static_cast<Bytecode>(-1);
833 *operand_location = static_cast<uint8_t>(delta);
843 *operand_location = static_cast<uint8_t>(entry);
856 WriteUnalignedUInt16(operand_bytes, static_cast<uint16_t>(entry));
867 int delta = static_cast<int>(jump_target - jump_location);
897 CHECK_LE(bytecodes()->size(), static_cast<size_t>(kMaxInt));
899 int delta = -static_cast<int>(abs_delta);
902 Output(jump_bytecode, static_cast<uint8_t>(delta));
908 static_cast<uint8_t>(entry));
911 static_cast<uint16_t>(entry));
1034 static_cast<uint8_t>(arg_count),
1035 static_cast<uint8_t>(feedback_slot));
1039 static_cast<uint16_t>(arg_count),
1040 static_cast<uint16_t>(feedback_slot));
1057 static_cast<uint8_t>(arg_count));
1071 Output(Bytecode::kCallRuntime, static_cast<uint16_t>(function_id),
1072 first_arg.ToOperand(), static_cast<uint8_t>(arg_count));
1087 Output(Bytecode::kCallRuntimeForPair, static_cast<uint16_t>(function_id),
1088 first_arg.ToOperand(), static_cast<uint8_t>(arg_count),
1099 Output(Bytecode::kCallJSRuntime, static_cast<uint16_t>(context_index),
1100 receiver.ToOperand(), static_cast<uint8_t>(arg_count));
1180 if (*run_end != *start + static_cast<int>(run_length)) {
1192 *start + static_cast<int>(run_length) !=
1202 return last_temporary_register().index() - static_cast<int>(count) + 1;
1240 return static_cast<uint16_t>(operand_value) == operand_value;
1244 return static_cast<uint8_t>(operand_value) == operand_value;
1252 Register::FromOperand(static_cast<uint8_t>(operand_value)));
1255 Register::FromOperand(static_cast<uint8_t>(operand_value));
1265 Register::FromWideOperand(static_cast<uint16_t>(operand_value)));
1318 return static_cast<Bytecode>(-1);
1332 return static_cast<Bytecode>(-1);
1362 return static_cast<Bytecode>(-1);
1408 return static_cast<Bytecode>(-1);
1425 return static_cast<Bytecode>(-1);
1442 return static_cast<Bytecode>(-1);
1458 return static_cast<Bytecode>(-1);
1475 return static_cast<Bytecode>(-1);
1496 return static_cast<Bytecode>(-1);
1513 return static_cast<Bytecode>(-1);
1530 return static_cast<Bytecode>(-1);
1545 return static_cast<Bytecode>(-1);
1561 return static_cast<Bytecode>(-1);
1573 return value <= static_cast<size_t>(kMaxUInt8);
1591 return value <= static_cast<size_t>(kMaxUInt16);