Searched refs:stack (Results 1 - 25 of 56) sorted by relevance

123

/dalvik/dx/src/com/android/dx/cf/code/
H A DExecutionStack.java26 * Representation of a Java method execution stack.
33 /** {@code non-null;} array of stack contents */
34 private final TypeBearer[] stack; field in class:ExecutionStack
37 * {@code non-null;} array specifying whether stack contents have entries
42 * {@code >= 0;} stack pointer (points one past the end) / current stack
50 * @param maxStack {@code >= 0;} the maximum size of the stack for this
55 stack = new TypeBearer[maxStack];
66 ExecutionStack result = new ExecutionStack(stack.length);
68 System.arraycopy(stack,
[all...]
H A DFrame.java27 * of a set of locals and a value stack, and it can be told to act on
35 /** {@code non-null;} the stack */
36 private final ExecutionStack stack; field in class:Frame
38 /** {@code null-ok;} stack of labels of subroutines that this block is nested in */
45 * @param stack {@code non-null;} the execution stack to use
47 private Frame(LocalsArray locals, ExecutionStack stack) { argument
48 this(locals, stack, IntList.EMPTY);
55 * @param stack {@code non-null;} the execution stack t
59 Frame(LocalsArray locals, ExecutionStack stack, IntList subroutines) argument
[all...]
H A DSimulator.java119 * Constructs an "illegal top-of-stack" exception, for the stack
123 return new SimException("stack mismatch: illegal " +
124 "top-of-stack for opcode");
137 * to the actual array present on the stack, as long as what is
142 * actually present on the stack.</p>
144 * <p>In the case where there is a known-null on the stack where
157 * stack; is either an array type or a known-null
364 * over one extra stack slot to find the array.
366 ExecutionStack stack
[all...]
H A DBaseMachine.java120 ExecutionStack stack = frame.getStack();
130 args[i] = stack.pop();
148 throw new SimException("at stack depth " + (size - 1 - i) +
531 * onto the stack.
552 ExecutionStack stack = frame.getStack();
555 stack.setLocal();
557 stack.push(results[i]);
/dalvik/vm/mterp/x86/
H A DOP_REM_DOUBLE.S5 fldl (rFP,%ecx,4) # vCC to fp stack
6 fldl (rFP,%eax,4) # vCC to fp stack
H A DOP_REM_DOUBLE_2ADDR.S5 fldl (rFP,rINST,4) # vBB to fp stack
7 fldl (rFP,%ecx,4) # vAA to fp stack
H A DOP_REM_FLOAT.S5 flds (rFP,%ecx,4) # vCC to fp stack
6 flds (rFP,%eax,4) # vCC to fp stack
H A DOP_REM_FLOAT_2ADDR.S5 flds (rFP,rINST,4) # vBB to fp stack
7 flds (rFP,%ecx,4) # vAA to fp stack
H A Dbinflop.S9 $load (rFP,%eax,4) # vCC to fp stack
H A Dbinflop2addr.S10 $load (rFP,%ecx,4) # vAA to fp stack
/dalvik/vm/alloc/
H A DMarkSweep.h27 /* Current top of the stack (exclusive)
35 /* Maximum stack size, in bytes.
44 GcMarkStack stack; member in struct:GcMarkContext
H A DMarkSweep.cpp41 * Initializes the stack top and advises the mark stack pages as needed.
43 static bool createMarkStack(GcMarkStack *stack) argument
45 assert(stack != NULL);
48 madvise(stack->base, length, MADV_NORMAL);
49 stack->top = stack->base;
54 * Assigns NULL to the stack top and advises the mark stack pages as
57 static void destroyMarkStack(GcMarkStack *stack) argument
67 markStackPush(GcMarkStack *stack, const Object *obj) argument
80 markStackPop(GcMarkStack *stack) argument
476 GcMarkStack *stack = &ctx->stack; local
[all...]
H A DHeapSource.cpp505 * Create a stack big enough for the worst possible case, where the
507 * TODO: be better about memory usage; use a smaller stack with
510 static bool allocMarkStack(GcMarkStack *stack, size_t maximumSize) argument
512 const char *name = "dalvik-mark-stack";
515 assert(stack != NULL);
516 stack->length = maximumSize * sizeof(Object*) /
518 addr = dvmAllocRegion(stack->length, PROT_READ | PROT_WRITE, name);
522 stack->base = (const Object **)addr;
523 stack->limit = (const Object **)((char *)addr + stack
529 freeMarkStack(GcMarkStack *stack) argument
[all...]
/dalvik/hit/src/com/android/hit/
H A DRootObj.java41 public RootObj(RootType type, long id, int thread, StackTrace stack) { argument
45 mStack = stack;
H A DArrayInstance.java28 public ArrayInstance(long id, StackTrace stack, int type, int numEntries, argument
31 mStack = stack;
/dalvik/vm/compiler/template/armv5te/
H A DTEMPLATE_MEM_OP_DECODE.S13 mov r1, sp @ arg1 <- stack pointer
H A DTEMPLATE_INVOKE_METHOD_CHAIN.S14 SAVEAREA_FROM_FP(r1, rFP) @ r1<- stack save area
16 SAVEAREA_FROM_FP(r10, r1) @ r10<- stack save area
20 bxlo r12 @ return to raise stack overflow excep.
H A DTEMPLATE_INVOKE_METHOD_NO_OPT.S12 SAVEAREA_FROM_FP(r1, rFP) @ r1<- stack save area
14 SAVEAREA_FROM_FP(r10, r1) @ r10<- stack save area
17 bxlo lr @ return to raise stack overflow excep.
H A DTEMPLATE_INVOKE_METHOD_NATIVE.S6 SAVEAREA_FROM_FP(r1, rFP) @ r1<- stack save area
8 SAVEAREA_FROM_FP(r10, r1) @ r10<- stack save area
10 bxlo lr @ return to raise stack overflow excep.
34 SAVEAREA_FROM_FP(r10, r1) @ r10<- new stack save area
/dalvik/vm/compiler/template/armv5te-vfp/
H A DTEMPLATE_MEM_OP_DECODE.S14 mov r1, sp @ arg1 <- stack pointer
/dalvik/vm/mterp/mips/
H A DOP_MONITOR_ENTER.S10 EXPORT_PC() # export PC so we can grab stack trace
/dalvik/dx/src/com/android/dx/ssa/
H A DSsaMethod.java758 // We push the parent first, then the child on the stack.
759 Stack<SsaBasicBlock> stack = new Stack<SsaBasicBlock>();
768 stack.add(null); // Start with null parent.
769 stack.add(rootBlock);
771 while (stack.size() > 0) {
772 SsaBasicBlock cur = stack.pop();
773 SsaBasicBlock parent = stack.pop();
780 stack.add(cur);
781 stack.add(blocks.get(i));
798 Stack<SsaBasicBlock> stack
[all...]
/dalvik/vm/arch/arm/
H A DCallOldABI.S19 * argument list has to be pushed onto the native stack according to
62 registers are placed on the stack. "sp" points at the first stacked argument
88 @ Standard gcc stack frame setup. We don't need to push the original
96 @ We need to push a variable number of arguments onto the stack.
98 @ the stack pointers.
119 @ to the stack. We need to push the last item in argv first, and we
137 @ Load the last two args. These are coming out of the interpreted stack,
/dalvik/vm/compiler/template/mips/
H A DTEMPLATE_INVOKE_METHOD_CHAIN.S15 SAVEAREA_FROM_FP(a1, rFP) # a1<- stack save area
18 SAVEAREA_FROM_FP(t0, a1) # t0<- stack save area
24 jr t2 # return to raise stack overflow excep.
H A DTEMPLATE_INVOKE_METHOD_NO_OPT.S12 SAVEAREA_FROM_FP(a1, rFP) # a1<- stack save area
15 SAVEAREA_FROM_FP(t0, a1) # t0<- stack save area
19 RETURN # return to raise stack overflow excep.

Completed in 1360 milliseconds

123