Home | History | Annotate | Download | only in x64

Lines Matching refs:CONTEXT

48 //   o rsi: our context
62 __ push(rsi); // Callee's context.
79 // Possibly allocate a local context.
81 Comment cmnt(masm_, "[ Allocate local context");
86 // Context is returned in both rax and rsi. 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 int context_offset = Context::SlotOffset(slot->index());
114 // Arguments object must be allocated after the context object, in
115 // case the "arguments" or ".arguments" variables are in the context.
213 void FullCodeGenerator::Apply(Expression::Context context, Register reg) {
214 switch (context) {
237 DoTest(context);
250 DoTest(context);
256 void FullCodeGenerator::Apply(Expression::Context context, Slot* slot) {
257 switch (context) {
279 DoTest(context);
292 DoTest(context);
298 void FullCodeGenerator::Apply(Expression::Context context, Literal* lit) {
299 switch (context) {
318 DoTest(context);
331 DoTest(context);
337 void FullCodeGenerator::ApplyTOS(Expression::Context context) {
338 switch (context) {
358 DoTest(context);
371 DoTest(context);
378 Expression::Context context,
382 switch (context) {
406 DoTest(context);
422 DoTest(context);
428 void FullCodeGenerator::Apply(Expression::Context context,
431 switch (context) {
493 void FullCodeGenerator::DoTest(Expression::Context context) {
506 switch (context) {
547 switch (context) {
580 // The stub returns nonzero for true. Complete based on the context.
581 switch (context) {
632 case Slot::CONTEXT: {
661 if (dst->type() == Slot::CONTEXT) {
688 case Slot::CONTEXT:
690 // this specific context.
692 // The variable in the decl always resides in the current context.
695 // Check if we have the correct context pointer.
697 CodeGenerator::ContextOperand(rsi, Context::FCONTEXT_INDEX));
699 __ Check(equal, "Unexpected declaration in current context.");
710 int offset = Context::SlotOffset(slot->index());
770 __ push(rsi); // The context is the first argument.
803 Expression::Context context) {
822 DropAndApply(1, context, rax);
826 __ push(rsi); // Context.
829 Apply(context, rax);
832 Comment cmnt(masm_, (slot->type() == Slot::CONTEXT)
833 ? "Context slot"
835 Apply(context, slot);
867 DropAndApply(2, context, rax);
1123 Expression::Context context) {
1129 Apply(context, rax);
1134 Expression::Context context) {
1150 Apply(context, rax);
1154 __ push(rsi); // Context.
1157 Apply(context, rax);
1166 case Slot::CONTEXT: {
1181 Apply(context, result_register());
1305 // Restore context register.
1322 // Restore context register.
1458 // Restore context register.
1510 // Initially assume a pure test context. Notice that the labels are
1636 // In case of a property we use the uninitialized expression context
1823 // into the expression's context after the comparison is performed.
1825 // Initially assume we are in a test context.
1926 // expression's context.