Home | History | Annotate | Download | only in arm

Lines Matching refs:CONTEXT

48 //   o cp: our context
80 // Possibly allocate a local context.
82 Comment cmnt(masm_, "[ Allocate local context");
87 // Context is returned in both r0 and cp. It replaces the context
90 // Copy any necessary parameters into the context.
94 if (slot != NULL && slot->type() == Slot::CONTEXT) {
99 // Store it in the context.
100 __ mov(r1, Operand(Context::SlotOffset(slot->index())));
116 // Load this again, if it's used by the local context below.
229 void FullCodeGenerator::Apply(Expression::Context context, Register reg) {
230 switch (context) {
259 DoTest(context);
265 void FullCodeGenerator::Apply(Expression::Context context, Slot* slot) {
266 switch (context) {
279 Apply(context, result_register());
285 void FullCodeGenerator::Apply(Expression::Context context, Literal* lit) {
286 switch (context) {
299 Apply(context, result_register());
305 void FullCodeGenerator::ApplyTOS(Expression::Context context) {
306 switch (context) {
332 DoTest(context);
339 Expression::Context context,
343 switch (context) {
367 DoTest(context);
380 DoTest(context);
386 void FullCodeGenerator::Apply(Expression::Context context,
389 switch (context) {
447 void FullCodeGenerator::DoTest(Expression::Context context) {
459 // Complete based on the context.
460 switch (context) {
515 case Slot::CONTEXT: {
545 if (dst->type() == Slot::CONTEXT) {
546 __ mov(scratch2, Operand(Context::SlotOffset(dst->index())));
572 case Slot::CONTEXT:
574 // this specific context.
576 // The variable in the decl always resides in the current context.
579 // Check if we have the correct context pointer.
581 CodeGenerator::ContextOperand(cp, Context::FCONTEXT_INDEX));
583 __ Check(eq, "Unexpected declaration in current context.");
593 int offset = Context::SlotOffset(slot->index());
655 // The context is the first argument.
689 Expression::Context context) {
705 DropAndApply(1, context, r0);
710 __ stm(db_w, sp, cp.bit() | r1.bit()); // Context and name.
712 Apply(context, r0);
715 Comment cmnt(masm_, (slot->type() == Slot::CONTEXT)
716 ? "Context slot"
718 Apply(context, slot);
750 DropAndApply(2, context, r0);
1013 Expression::Context context) {
1017 Apply(context, r0);
1022 Expression::Context context) {
1043 __ stm(db_w, sp, cp.bit() | r1.bit()); // Context and name.
1054 case Slot::CONTEXT: {
1077 Apply(context, result_register());
1194 // Restore context register.
1211 // Restore context register.
1342 // Restore context register.
1395 // Initially assume a pure test context. Notice that the labels are
1524 // In case of a property we use the uninitialized expression context
1698 // into the expression's context after the comparison is performed.
1700 // Initially assume we are in a test context.
1804 // expression's context.