Searched refs:boilerplate (Results 1 - 10 of 10) sorted by relevance

/external/webkit/Source/WebCore/bindings/v8/
H A DV8DOMWindowShell.h89 v8::Persistent<v8::Object> boilerplate = m_wrapperBoilerplates.get(type); local
90 return boilerplate.IsEmpty() ? createWrapperFromCacheSlowCase(type) : boilerplate->Clone();
114 // For each possible type of wrapper, we keep a boilerplate object.
115 // The boilerplate is used to create additional wrappers of the same type.
/external/v8/src/
H A Druntime.cc140 JSObject* boilerplate) {
146 { MaybeObject* maybe_result = heap->CopyJSObject(boilerplate);
362 Handle<JSObject> boilerplate = isolate->factory()->NewJSObjectFromMap(map); local
364 // Normalize the elements of the boilerplate to save space if needed.
365 if (!should_have_fast_elements) JSObject::NormalizeElements(boilerplate);
367 // Add the constant properties to the boilerplate.
370 !is_result_from_cache && boilerplate->HasFastProperties();
376 boilerplate, KEEP_INOBJECT_PROPERTIES, length / 2);
395 boilerplate, element_index, value, kNonStrictMode);
400 boilerplate, nam
139 DeepCopyBoilerplate(Isolate* isolate, JSObject* boilerplate) argument
[all...]
H A Dhydrogen.cc3669 // Determines whether the given array or object literal boilerplate satisfies
3672 static bool IsFastLiteral(Handle<JSObject> boilerplate, argument
3679 Handle<FixedArrayBase> elements(boilerplate->elements());
3681 elements->map() != boilerplate->GetHeap()->fixed_cow_array_map()) {
3682 if (boilerplate->HasFastDoubleElements()) {
3684 } else if (boilerplate->HasFastElements()) {
3688 Handle<Object> value = JSObject::GetElement(boilerplate, i);
3705 Handle<FixedArray> properties(boilerplate->properties());
3709 int nof = boilerplate->map()->inobject_properties();
3712 Handle<Object> value(boilerplate
3842 Handle<JSObject> boilerplate = Handle<JSObject>::cast(raw_boilerplate); local
[all...]
H A Disolate.cc900 Handle<JSObject> boilerplate = local
902 Handle<Object> exception = Copy(boilerplate);
H A Dhydrogen-instructions.h4416 Handle<JSObject> boilerplate,
4421 boilerplate_(boilerplate),
4432 Handle<JSObject> boilerplate() const { return boilerplate_; } function in class:v8::HFastLiteral
4415 HFastLiteral(HValue* context, Handle<JSObject> boilerplate, int total_size, int literal_index, int depth) argument
H A Dheap.cc3593 // allocate them based on an arguments boilerplate.
3595 JSObject* boilerplate; local
3600 boilerplate =
3605 boilerplate =
3614 // Check that the size of the boilerplate matches our
3617 ASSERT(arguments_object_size == boilerplate->map()->instance_size());
3626 // Copy the content. The arguments boilerplate doesn't have any
3630 boilerplate->address(),
/external/v8/src/arm/
H A Dlithium-codegen-arm.cc4512 // Deopt if the array literal boilerplate ElementsKind is of a type different
4513 // than the expected one. The check isn't necessary if the boilerplate has
4676 __ LoadHeapObject(r1, instr->hydrogen()->boilerplate());
4677 EmitDeepCopy(instr->hydrogen()->boilerplate(), r0, r1, &offset);
/external/v8/src/ia32/
H A Dlithium-codegen-ia32.cc4361 // Deopt if the array literal boilerplate ElementsKind is of a type different
4362 // than the expected one. The check isn't necessary if the boilerplate has
4417 __ Assert(equal, "Unexpected object literal boilerplate");
4526 __ LoadHeapObject(ebx, instr->hydrogen()->boilerplate());
4527 EmitDeepCopy(instr->hydrogen()->boilerplate(), eax, ebx, &offset);
/external/v8/src/mips/
H A Dlithium-codegen-mips.cc4406 // Deopt if the array literal boilerplate ElementsKind is of a type different
4407 // than the expected one. The check isn't necessary if the boilerplate has
4572 __ LoadHeapObject(a1, instr->hydrogen()->boilerplate());
4573 EmitDeepCopy(instr->hydrogen()->boilerplate(), v0, a1, &offset);
/external/v8/src/x64/
H A Dlithium-codegen-x64.cc4134 // Deopt if the array literal boilerplate ElementsKind is of a type different
4135 // than the expected one. The check isn't necessary if the boilerplate has
4292 __ LoadHeapObject(rbx, instr->hydrogen()->boilerplate());
4293 EmitDeepCopy(instr->hydrogen()->boilerplate(), rax, rbx, &offset);

Completed in 721 milliseconds