Lines Matching refs:Translation
549 // Do the input frame to output frame(s) translation.
551 Translation::Opcode opcode =
552 static_cast<Translation::Opcode>(iterator.Next());
553 ASSERT(Translation::BEGIN == opcode);
569 Translation::Opcode opcode =
570 static_cast<Translation::Opcode>(iterator.Next());
572 case Translation::JS_FRAME:
576 case Translation::ARGUMENTS_ADAPTOR_FRAME:
579 case Translation::CONSTRUCT_STUB_FRAME:
686 Translation::Opcode opcode =
687 static_cast<Translation::Opcode>(iterator->Next());
688 while (opcode == Translation::DUPLICATE) {
689 opcode = static_cast<Translation::Opcode>(iterator->Next());
690 iterator->Skip(Translation::NumberOfOperandsFor(opcode));
691 opcode = static_cast<Translation::Opcode>(iterator->Next());
695 case Translation::BEGIN:
696 case Translation::JS_FRAME:
697 case Translation::ARGUMENTS_ADAPTOR_FRAME:
698 case Translation::CONSTRUCT_STUB_FRAME:
699 case Translation::DUPLICATE:
703 case Translation::REGISTER: {
720 case Translation::INT32_REGISTER: {
747 case Translation::DOUBLE_REGISTER: {
764 case Translation::STACK_SLOT: {
783 case Translation::INT32_STACK_SLOT: {
812 case Translation::DOUBLE_STACK_SLOT: {
831 case Translation::LITERAL: {
845 case Translation::ARGUMENTS_OBJECT: {
874 Translation::Opcode opcode =
875 static_cast<Translation::Opcode>(iterator->Next());
876 bool duplicate = (opcode == Translation::DUPLICATE);
878 opcode = static_cast<Translation::Opcode>(iterator->Next());
882 case Translation::BEGIN:
883 case Translation::JS_FRAME:
884 case Translation::ARGUMENTS_ADAPTOR_FRAME:
885 case Translation::CONSTRUCT_STUB_FRAME:
886 case Translation::DUPLICATE:
890 case Translation::REGISTER: {
902 case Translation::INT32_REGISTER: {
910 // Abort the translation if the conversion lost information.
929 case Translation::DOUBLE_REGISTER: {
945 case Translation::STACK_SLOT: {
961 case Translation::INT32_STACK_SLOT: {
971 // Abort the translation if the conversion lost information.
990 case Translation::DOUBLE_STACK_SLOT: {
1021 case Translation::LITERAL: {
1027 case Translation::ARGUMENTS_OBJECT: {
1031 // translation.
1334 void Translation::BeginConstructStubFrame(int literal_id, unsigned height) {
1341 void Translation::BeginArgumentsAdaptorFrame(int literal_id, unsigned height) {
1348 void Translation::BeginJSFrame(int node_id, int literal_id, unsigned height) {
1356 void Translation::StoreRegister(Register reg) {
1362 void Translation::StoreInt32Register(Register reg) {
1368 void Translation::StoreDoubleRegister(DoubleRegister reg) {
1374 void Translation::StoreStackSlot(int index) {
1380 void Translation::StoreInt32StackSlot(int index) {
1386 void Translation::StoreDoubleStackSlot(int index) {
1392 void Translation::StoreLiteral(int literal_id) {
1398 void Translation::StoreArgumentsObject() {
1403 void Translation::MarkDuplicate() {
1408 int Translation::NumberOfOperandsFor(Opcode opcode) {
1435 const char* Translation::StringFor(Opcode opcode) {
1493 Translation::Opcode opcode =
1494 static_cast<Translation::Opcode>(iterator->Next());
1497 case Translation::BEGIN:
1498 case Translation::JS_FRAME:
1499 case Translation::ARGUMENTS_ADAPTOR_FRAME:
1500 case Translation::CONSTRUCT_STUB_FRAME:
1504 case Translation::ARGUMENTS_OBJECT:
1508 case Translation::REGISTER:
1509 case Translation::INT32_REGISTER:
1510 case Translation::DOUBLE_REGISTER:
1511 case Translation::DUPLICATE:
1514 // point. Thus these translation commands should not be used.
1517 case Translation::STACK_SLOT: {
1523 case Translation::INT32_STACK_SLOT: {
1529 case Translation::DOUBLE_STACK_SLOT: {
1535 case Translation::LITERAL: {
1550 // Process the translation commands for the arguments.
1552 // Skip the translation command for the receiver.
1553 it->Skip(Translation::NumberOfOperandsFor(
1554 static_cast<Translation::Opcode>(it->Next())));
1573 Translation::Opcode opcode = static_cast<Translation::Opcode>(it.Next());
1574 ASSERT(opcode == Translation::BEGIN);
1581 opcode = static_cast<Translation::Opcode>(it.Next());
1582 if (opcode == Translation::ARGUMENTS_ADAPTOR_FRAME) {
1584 ASSERT(Translation::NumberOfOperandsFor(opcode) == 2);
1596 } else if (opcode == Translation::JS_FRAME) {
1599 it.Skip(Translation::NumberOfOperandsFor(opcode));
1602 // in question. Process the translation commands for the
1614 it.Skip(Translation::NumberOfOperandsFor(opcode));