Lines Matching defs:code
6 // * Redistributions of source code must retain the above copyright
41 Code::Flags flags,
59 // Get the code entry from the cache.
64 __ ldr(offset, FieldMemOperand(offset, Code::kFlagsOffset));
65 __ and_(offset, offset, Operand(~Code::kFlagsNotUsedInLookup));
69 // Restore offset and re-load code entry from cache.
74 // Jump to the first instruction in the code stub.
75 __ add(offset, offset, Operand(Code::kHeaderSize - kHeapObjectTag));
85 Code::Flags flags,
92 // Make sure that code is valid. The shifting code relies on the
97 ASSERT(Code::ExtractTypeFromFlags(flags) == 0);
192 // Generate code to check if an object is a string. If the object is a
215 // Generate code to load the length from a string object and return the length.
260 // Generate StoreField code, value is passed in r0 register.
261 // When leaving generated code after success, the receiver_reg and name_reg
354 void StubCompiler::GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind) {
355 ASSERT(kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC);
356 Code* code = NULL;
357 if (kind == Code::LOAD_IC) {
358 code = Builtins::builtin(Builtins::LoadIC_Miss);
360 code = Builtins::builtin(Builtins::KeyedLoadIC_Miss);
363 Handle<Code> ic(code);
752 Object* StubCompiler::CompileLazyCompile(Code::Flags flags) {
769 __ add(r2, r0, Operand(Code::kHeaderSize - kHeapObjectTag));
810 Handle<Code> ic = ComputeCallMiss(arguments().immediate());
813 // Return the generated code.
939 Handle<Code> ic = ComputeCallMiss(arguments().immediate());
942 // Return the generated code.
987 // the no-result sentinel, generate code that optimizes this case.
1053 Handle<Code> ic = ComputeCallMiss(arguments().immediate());
1056 // Return the generated code.
1125 // Jump to the cached code (tail call).
1128 Handle<Code> code(function->code());
1130 __ InvokeCode(code, expected, arguments(),
1136 Handle<Code> ic = ComputeCallMiss(arguments().immediate());
1139 // Return the generated code.
1163 Handle<Code> ic(Builtins::builtin(Builtins::StoreIC_Miss));
1166 // Return the generated code.
1211 Handle<Code> ic(Builtins::builtin(Builtins::StoreIC_Miss));
1214 // Return the generated code.
1258 Handle<Code> ic(Builtins::builtin(Builtins::StoreIC_Miss));
1261 // Return the generated code.
1292 Handle<Code> ic(Builtins::builtin(Builtins::StoreIC_Miss));
1295 // Return the generated code.
1315 GenerateLoadMiss(masm(), Code::LOAD_IC);
1317 // Return the generated code.
1340 GenerateLoadMiss(masm(), Code::LOAD_IC);
1342 // Return the generated code.
1362 GenerateLoadMiss(masm(), Code::LOAD_IC);
1364 // Return the generated code.
1393 GenerateLoadMiss(masm(), Code::LOAD_IC);
1395 code.
1442 GenerateLoadMiss(masm(), Code::LOAD_IC);
1444 // Return the generated code.
1468 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1497 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1523 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1525 // Return the generated code.
1559 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1582 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1607 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1620 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1657 Handle<Code> ic(Builtins::builtin(Builtins::KeyedStoreIC_Miss));
1660 // Return the generated code.
1679 // Check to see whether there are any break points in the function code. If
1681 // code for the function thereby hitting the break points.
1796 // Jump to the generic stub in case the specialized code cannot handle the
1799 Code* code = Builtins::builtin(Builtins::JSConstructStubGeneric);
1800 Handle<Code> generic_construct_stub(code);
1803 // Return the generated code.