HomeSort by relevance Sort by last modified time
    Searched refs:Smi (Results 51 - 75 of 263) sorted by null

1 23 4 5 6 7 8 91011

  /external/v8/src/arm/
full-codegen-arm.cc 70 // the inlined smi code.
83 // the inlined smi code.
141 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget)));
241 __ mov(r1, Operand(Smi::FromInt(num_parameters)));
319 __ mov(r0, Operand(Smi::FromInt(0)));
326 __ sub(r3, r3, Operand(Smi::FromInt(delta)), SetCC);
335 reset_value = Smi::kMaxValue;
342 __ mov(r3, Operand(Smi::FromInt(reset_value)));
558 if (Smi::cast(*lit)->value() == 0)
    [all...]
  /external/v8/src/x64/
full-codegen-x64.cc 137 Smi::FromInt(Compiler::kCallsUntilPrimitiveOpt));
143 Smi::FromInt(-1));
250 __ Push(Smi::FromInt(num_parameters));
487 if (Smi::cast(*lit)->value() == 0) {
750 // We know that we have written a function, which is not a smi.
779 __ Push(Smi::FromInt(attr));
789 __ Push(Smi::FromInt(0)); // Indicates no initial value.
802 __ Push(Smi::FromInt(DeclareGlobalsFlags()));
    [all...]
  /external/v8/src/
runtime.cc 88 // Cast the given argument to a Smi and store its value in an int variable
89 // with the given name. If the argument is not a Smi call IllegalOperation
111 // variable with the given name. If the argument is not a Smi call
115 PropertyDetails name = PropertyDetails(Smi::cast(args[index]));
469 static_cast<ElementsKind>(Smi::cast(elements->get(0))->value());
523 object->set_length(Smi::FromInt(copied_elements_values->length()));
813 weakmap->set_next(Smi::FromInt(0));
    [all...]
liveobjectlist.cc 56 v(Smi, "unexpected: Smi") \
600 Smi::FromInt(obj_id),
612 Smi::FromInt(size),
742 Smi::kMaxValue,
904 Smi::kMaxValue,
1019 // "Nullifies" (convert the HeapObject* into an SMI) so that it will get cleaned
1043 // SMI), it would/should show up before the equivalent dups that have not
    [all...]
bootstrapper.h 77 Script::cast(shared->script())->set_type(Smi::FromInt(type_));
frames-inl.h 187 return marker == Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR);
194 return marker == Smi::FromInt(StackFrame::CONSTRUCT);
handles.cc 472 array->set(i, Smi::FromInt(line_ends[i]));
487 if ((Smi::cast(line_ends_array->get(0)))->value() >= code_pos) {
494 if ((Smi::cast(line_ends_array->get(left + half)))->value() > code_pos) {
513 Smi::cast(line_ends_array->get(line_number - 1))->value();
735 sort_array->set(index, Smi::FromInt(details.index()));
745 indices->set(index, Smi::FromInt(field_index));
746 sort_array2->set(index, Smi::FromInt(details.index()));
763 indices.is_null() ? Object::cast(Smi::FromInt(0))
    [all...]
objects-printer.cc 47 Smi::cast(this_as_object)->SmiPrint(out);
681 weekdays[weekday()->IsSmi() ? Smi::cast(weekday())->value() + 1 : 0],
682 year()->IsSmi() ? Smi::cast(year())->value() : -1,
683 month()->IsSmi() ? Smi::cast(month())->value() : -1,
684 day()->IsSmi() ? Smi::cast(day())->value() : -1,
685 hour()->IsSmi() ? Smi::cast(hour())->value() : -1,
686 min()->IsSmi() ? Smi::cast(min())->value() : -1,
687 sec()->IsSmi() ? Smi::cast(sec())->value() : -1);
objects.cc 116 return Isolate::Current()->heap()->ToBoolean(Smi::cast(this)->value() != 0);
740 return Smi::FromInt(hash & Smi::kMaxValue);
744 return Smi::FromInt(hash);
748 return Smi::FromInt(hash);
755 return Smi::FromInt(0);
788 Smi::cast(this)->SmiPrint(accumulator);
797 void Smi::SmiPrint(FILE* out) {
802 void Smi::SmiPrint(StringStream* accumulator) {
    [all...]
deoptimizer.h 430 Smi* GetState() const { return state_; }
431 void SetState(Smi* state) { state_ = state; }
493 Smi* state_;
654 if (Smi::IsValid(value)) {
655 return Handle<Object>(Smi::FromInt(value));
  /external/v8/src/mips/
full-codegen-mips.cc 80 // the inlined smi code.
91 // the inlined smi code.
149 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget)));
248 __ li(a1, Operand(Smi::FromInt(num_parameters)));
321 ASSERT(Smi::FromInt(0) == 0);
329 __ Subu(a3, a3, Operand(Smi::FromInt(delta)));
338 reset_value = Smi::kMaxValue;
345 __ li(a3, Operand(Smi::FromInt(reset_value)));
566 if (Smi::cast(*lit)->value() == 0)
    [all...]
  /external/chromium_org/v8/src/
types.h 52 // Smi <= Signed32
103 V(Smi, 1 << 3) \
235 int as_bitset() { return Smi::cast(this)->value(); }
250 return static_cast<Type*>(Object::cast(Smi::FromInt(bitset)));
accessors.cc 81 return holder == NULL ? Smi::FromInt(0) : holder->length();
148 if (value->IsString()) return Smi::FromInt(String::cast(value)->length());
151 return Smi::FromInt(0);
295 return Smi::FromInt(Script::cast(script)->compilation_type());
399 return Smi::FromInt(code->SourcePosition(code->instruction_start() +
529 if (function == NULL) return Smi::FromInt(0);
532 return Smi::FromInt(function->shared()->length());
539 return Smi::FromInt(handle->shared()->length());
848 info->set_data(Smi::FromInt(index));
transitions.cc 53 array->set(kPrototypeTransitionsIndex, Smi::FromInt(0));
objects.h 56 // - Smi (immediate small integer)
155 // Smi: [31 bit signed int] 0
    [all...]
frames-inl.h 205 return marker == Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR);
212 return marker == Smi::FromInt(StackFrame::CONSTRUCT);
scopeinfo.cc 127 scope_info->set(index++, Smi::FromInt(value));
135 scope_info->set(index++, Smi::FromInt(var_index));
270 int value = Smi::cast(get(info_index))->value();
278 int value = Smi::cast(get(info_index))->value();
359 return Smi::cast(get(FunctionNameEntryIndex() + 1))->value();
  /external/chromium_org/v8/src/x64/
macro-assembler-x64.cc 320 // Skip barrier if writing a smi.
362 // Skip barrier if writing a smi.
367 // Array access: calculate the destination address. Index is not a smi.
420 // Skip barrier if writing a smi.
512 // We want to pass the msg string like a smi to avoid GC
515 // a proper v8 smi, but also pass the alignment difference
516 // from the real pointer as a smi.
520 // Note: p0 might not be a valid Smi _value_, but it has a valid Smi tag.
532 reinterpret_cast<intptr_t>(Smi::FromInt(static_cast<int>(p1 - p0)))
    [all...]
debug-x64.cc 109 __ Push(Smi::FromInt(Debug::FramePaddingLayout::kPaddingValue));
111 __ Push(Smi::FromInt(Debug::FramePaddingLayout::kInitialSize));
283 // rax is the actual number of arguments not encoded as a smi, see comment
288 // The number of arguments in rax is not smi encoded.
295 // rax is the actual number of arguments not encoded as a smi, see comment
301 // The number of arguments in rax is not smi encoded.
  /external/chromium_org/v8/src/arm/
full-codegen-arm.cc 70 // the inlined smi code.
80 // the inlined smi code.
133 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate()));
246 __ mov(r1, Operand(Smi::FromInt(num_parameters)));
325 __ mov(r0, Operand(Smi::FromInt(0)));
332 __ sub(r3, r3, Operand(Smi::FromInt(delta)), SetCC);
341 reset_value = Smi::kMaxValue;
348 __ mov(r3, Operand(Smi::FromInt(reset_value)));
556 if (Smi::cast(*lit)->value() == 0)
    [all...]
  /external/v8/test/cctest/
test-compiler.cc 159 SetGlobalProperty("x", Smi::FromInt(x));
160 SetGlobalProperty("y", Smi::FromInt(y));
180 SetGlobalProperty("x", Smi::FromInt(x));
201 SetGlobalProperty("n", Smi::FromInt(n));
  /external/chromium_org/v8/src/mips/
full-codegen-mips.cc 80 // the inlined smi code.
91 // the inlined smi code.
142 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate()));
250 __ li(a1, Operand(Smi::FromInt(num_parameters)));
323 ASSERT(Smi::FromInt(0) == 0);
331 __ Subu(a3, a3, Operand(Smi::FromInt(delta)));
340 reset_value = Smi::kMaxValue;
347 __ li(a3, Operand(Smi::FromInt(reset_value)));
555 if (Smi::cast(*lit)->value() == 0)
    [all...]
  /external/chromium_org/v8/src/ia32/
debug-ia32.cc 111 __ push(Immediate(Smi::FromInt(
114 __ push(Immediate(Smi::FromInt(Debug::FramePaddingLayout::kInitialSize)));
118 // are stored as a smi causing it to be untouched by GC.
292 // eax is the actual number of arguments not encoded as a smi see comment
295 // -- eax: number of arguments (not smi)
298 // The number of arguments in eax is not smi encoded.
305 // eax is the actual number of arguments not encoded as a smi see comment
308 // -- eax: number of arguments (not smi)
312 // The number of arguments in eax is not smi encoded.
  /external/chromium_org/v8/test/mjsunit/
math-min-max.js 43 // Prepare a non-Smi zero value.
47 // We have to have a loop here because the first time we get a Smi from the
49 // a non-Smi from the generated code.
60 // us into the runtime system, which would quite legitimately put a Smi zero
182 // Test smi-based Math.min.
  /external/v8/test/mjsunit/
math-min-max.js 43 // Prepare a non-Smi zero value.
47 // We have to have a loop here because the first time we get a Smi from the
49 // a non-Smi from the generated code.
60 // us into the runtime system, which would quite legitimately put a Smi zero

Completed in 1239 milliseconds

1 23 4 5 6 7 8 91011