Home | History | Annotate | Download | only in arm

Lines Matching defs:code

6 //     * Redistributions of source code must retain the above copyright
44 Code::Flags flags,
70 // Get the code entry from the cache.
76 __ ldr(scratch2, FieldMemOperand(scratch2, Code::kFlagsOffset));
77 __ bic(scratch2, scratch2, Operand(Code::kFlagsNotUsedInLookup));
81 // Re-load code entry from cache.
84 // Jump to the first instruction in the code stub.
85 __ add(offset, offset, Operand(Code::kHeaderSize - kHeapObjectTag));
208 Code::Flags flags,
217 // Make sure that code is valid. The shifting code relies on the
222 ASSERT(Code::ExtractTypeFromFlags(flags) == 0);
347 // Generate code to check if an object is a string. If the object is a
370 // Generate code to load the length from a string object and return the length.
417 // Generate StoreField code, value is passed in r0 register.
418 // When leaving generated code after success, the receiver_reg and name_reg
511 void StubCompiler::GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind) {
512 ASSERT(kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC);
513 Code* code = NULL;
514 if (kind == Code::LOAD_IC) {
515 code = masm->isolate()->builtins()->builtin(Builtins::kLoadIC_Miss);
517 code = masm->isolate()->builtins()->builtin(Builtins::kKeyedLoadIC_Miss);
520 Handle<Code> ic(code);
662 // Emitting a stub call may try to allocate (if the code is not
812 // Deferred code for fast API call case---clean preallocated space.
894 // Generate code to check that a global property cell is empty. Create
1135 // to it in the code. Load it from the map.
1281 // Emitting a stub call may try to allocate (if the code is not
1325 // Compile the interceptor call, followed by inline code to load the
1400 // Important invariant in CALLBACKS case: the code above must be
1440 if (kind_ == Code::KEYED_CALL_IC) {
1508 __ Jump(Handle<Code>(Code::cast(obj)), RelocInfo::CODE_TARGET);
1544 // Return the generated code.
1704 // Return the generated code.
1789 // Return the generated code.
1818 if (kind_ == Code::CALL_IC && extra_ic_state_ == DEFAULT_STRING_STUB) {
1873 // Return the generated code.
1902 if (kind_ == Code::CALL_IC && extra_ic_state_ == DEFAULT_STRING_STUB) {
1959 // Return the generated code.
2002 // Load the char code argument.
2003 Register code = r1;
2004 __ ldr(code, MemOperand(sp, 0 * kPointerSize));
2006 // Check the code is a smi.
2009 __ tst(code, Operand(kSmiTagMask));
2012 // Convert the smi code to uint16.
2013 __ and_(code, code, Operand(Smi::FromInt(0xffff)));
2015 StringCharFromCodeGenerator char_from_code_generator(code, r0);
2033 // Return the generated code.
2181 // Return the generated code.
2283 // Return the generated code.
2337 // Return the generated code.
2470 // Return the generated code.
2523 // Return the generated code.
2568 // Jump to the cached code (tail call).
2572 Handle<Code> code(function->code());
2576 // code field in the function to allow recompilation to take effect
2581 __ InvokeCode(code, expected, arguments(),
2591 // Return the generated code.
2615 Handle<Code> ic = masm()->isolate()->builtins()->StoreIC_Miss();
2618 // Return the generated code.
2664 Handle<Code> ic = masm()->isolate()->builtins()->StoreIC_Miss();
2667 code.
2713 Handle<Code> ic = masm()->isolate()->builtins()->StoreIC_Miss();
2716 // Return the generated code.
2757 Handle<Code> ic = masm()->isolate()->builtins()->StoreIC_Miss();
2760 // Return the generated code.
2801 GenerateLoadMiss(masm(), Code::LOAD_IC);
2803 // Return the generated code.
2821 GenerateLoadMiss(masm(), Code::LOAD_IC);
2823 // Return the generated code.
2847 GenerateLoadMiss(masm(), Code::LOAD_IC);
2849 // Return the generated code.
2867 GenerateLoadMiss(masm(), Code::LOAD_IC);
2869 // Return the generated code.
2897 GenerateLoadMiss(masm(), Code::LOAD_IC);
2899 // Return the generated code.
2945 GenerateLoadMiss(masm(), Code::LOAD_IC);
2947 // Return the generated code.
2969 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
2999 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
3022 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
3024 // Return the generated code.
3056 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
3076 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
3101 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
3125 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
3173 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
3175 // Return the generated code.
3210 Handle<Code> ic = masm()->isolate()->builtins()->KeyedStoreIC_Miss();
3213 // Return the generated code.
3280 Handle<Code> ic = masm()->isolate()->builtins()->KeyedStoreIC_Miss();
3283 // Return the generated code.
3301 // Check to see whether there are any break points in the function code. If
3303 // code for the function thereby hitting the break points.
3421 // Jump to the generic stub in case the specialized code cannot handle the
3424 Handle<Code> code = masm()->isolate()->builtins()->JSConstructStubGeneric();
3425 __ Jump(code, RelocInfo::CODE_TARGET);
3427 // Return the generated code.
3454 Code::Flags flags) {
3727 Code::Flags flags) {
4021 Code::ExtractExtraICStateFromFlags(flags) & kStrictMode)));