HomeSort by relevance Sort by last modified time
    Searched refs:Smi (Results 126 - 150 of 334) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/v8/src/runtime/
runtime-atomics.cc 169 inline Object* ToObject(Isolate* isolate, int8_t t) { return Smi::FromInt(t); }
171 inline Object* ToObject(Isolate* isolate, uint8_t t) { return Smi::FromInt(t); }
173 inline Object* ToObject(Isolate* isolate, int16_t t) { return Smi::FromInt(t); }
176 return Smi::FromInt(t);
runtime-maths.cc 47 // If the second argument is a smi, it is much faster to call the
71 return Smi::FromInt(1);
runtime-utils.h 57 // Cast the given argument to a Smi and store its value in an int variable
58 // with the given name. If the argument is not a Smi call IllegalOperation
91 // variable with the given name. If the argument is not a Smi call
95 PropertyDetails name = PropertyDetails(Smi::cast(args[index]));
116 // variable with the given name. If the argument is not a Smi call or the
runtime-function.cc 92 return Smi::FromInt(pos);
102 return Smi::FromInt(abstract_code->SourcePosition(offset));
runtime-i18n.cc 245 result->set_length(Smi::FromInt(length));
351 local_object->SetInternalField(0, reinterpret_cast<Smi*>(date_format));
440 local_object->SetInternalField(0, reinterpret_cast<Smi*>(number_format));
543 local_object->SetInternalField(0, reinterpret_cast<Smi*>(collator));
672 local_object->SetInternalField(0, reinterpret_cast<Smi*>(break_iterator));
674 local_object->SetInternalField(1, static_cast<Smi*>(nullptr));
714 break_iterator_holder->SetInternalField(1, reinterpret_cast<Smi*>(u_text));
    [all...]
  /external/v8/src/snapshot/
startup-serializer.cc 156 PutSmi(Smi::cast(*current));
  /external/v8/test/cctest/
test-slots-buffer.cc 67 // Set up a fake black object that will contain a recorded SMI, a recorded
78 // Write a SMI into field one and record its address;
80 *field_smi = Smi::FromInt(100);
test-compiler.cc 97 SetGlobalProperty("x", Smi::FromInt(x));
98 SetGlobalProperty("y", Smi::FromInt(y));
116 SetGlobalProperty("x", Smi::FromInt(x));
135 SetGlobalProperty("n", Smi::FromInt(n));
732 Smi* smi = Smi::FromInt(12345678); local
733 SNPrintF(smi_hex_buffer, "0x%" V8PRIxPTR, reinterpret_cast<intptr_t>(smi));
  /external/v8/test/mjsunit/
constant-folding.js 207 // Answer is non-Smi so the subtraction is not folded in the code
214 // Answer is non-smi and lhs of << is a temporary heap number that we can
219 // Answer is non-smi and lhs of << is a temporary heap number that we think
220 // we can overwrite (but we can't because it's a Smi).
bitops-info.js 33 return 46512102; // It's a Smi
store-dictionary.js 55 // Smi.
unary-minus-deopt.js 31 // After deopting, the multiplication for unary minus stayed in Smi
  /external/v8/src/crankshaft/arm/
lithium-gap-resolver-arm.cc 238 ? Representation::Smi() : Representation::Integer32();
253 ? Representation::Smi() : Representation::Integer32();
  /external/v8/src/crankshaft/mips/
lithium-gap-resolver-mips.cc 231 ? Representation::Smi() : Representation::Integer32();
245 ? Representation::Smi() : Representation::Integer32();
  /external/v8/src/
layout-descriptor.cc 115 static_cast<uint32_t>(Smi::cast(*layout_descriptor)->value());
142 : static_cast<uint32_t>(Smi::cast(this)->value());
elements.cc 62 // fast element handler for smi-only arrays. The implementation is currently
316 to->set(to_start, Smi::cast(hole_or_smi)->value());
354 Object* smi = from->get(from_start); local
355 DCHECK(!smi->IsTheHole(from->GetIsolate()));
356 to->set(to_start, Smi::cast(smi)->value());
511 length = Smi::cast(length_obj)->value();
538 int length = Smi::cast(array->length())->value();
730 array->set_length(Smi::FromInt(length));
738 Smi::cast(JSArray::cast(receiver)->length())->value())
    [all...]
deoptimizer.cc 505 // For COMPILED_STUBs called from builtins, the function pointer is a SMI
    [all...]
  /external/v8/test/mjsunit/regress/
consolidated-holey-load.js 34 var a = [1, 2, , 4]; // Holey Smi elements.
regress-2537.js 38 // Fails due to Smi-tagging without overflow check.
  /external/v8/src/arm/
code-stubs-arm.cc 313 // Lhs is a Smi. Check whether the rhs is a heap number.
316 // If rhs is not a number and lhs is a Smi then strict equality cannot
324 // Smi compared non-strictly with a non-Smi non-heap-number. Call
329 // Lhs is a smi, rhs is a number.
336 // since it's a smi.
340 // Rhs is a smi. Check whether the non-smi lhs is a heap number.
343 // If lhs is not a number and rhs is a smi then strict equality cannot
351 // Smi compared non-strictly with a non-smi non-heap-number. Cal
    [all...]
  /external/v8/src/ic/arm64/
ic-arm64.cc 62 __ Tst(scratch1, Smi::FromInt(PropertyDetails::TypeField::kMask));
122 // receiver in 'map_scratch' if the receiver is not a SMI.
130 // Check that the object isn't a smi.
155 // key - holds the smi key on entry.
184 __ Cmp(key, Operand(Smi::FromInt(0)));
395 __ Mov(slot, Operand(Smi::FromInt(slot_index)));
428 // Now the key is known to be a smi. This place is also jumped to from below
429 // where a numeric string is converted to a smi.
445 // Now jump to the place where smi keys are handled.
498 // Smi stores don't require further checks
    [all...]
  /external/v8/src/ppc/
code-stubs-ppc.cc 325 // Lhs is a Smi. Check whether the rhs is a heap number.
328 // If rhs is not a number and lhs is a Smi then strict equality cannot
341 // Smi compared non-strictly with a non-Smi non-heap-number. Call
346 // Lhs is a smi, rhs is a number.
353 // since it's a smi.
357 // Rhs is a smi. Check whether the non-smi lhs is a heap number.
360 // If lhs is not a number and rhs is a smi then strict equality cannot
373 // Smi compared non-strictly with a non-smi non-heap-number. Cal
    [all...]
  /external/v8/src/s390/
code-stubs-s390.cc 322 // Lhs is a Smi. Check whether the rhs is a heap number.
325 // If rhs is not a number and lhs is a Smi then strict equality cannot
336 // Smi compared non-strictly with a non-Smi non-heap-number. Call
341 // Lhs is a smi, rhs is a number.
348 // since it's a smi.
352 // Rhs is a smi. Check whether the non-smi lhs is a heap number.
355 // If lhs is not a number and rhs is a smi then strict equality cannot
366 // Smi compared non-strictly with a non-smi non-heap-number. Cal
    [all...]
  /external/v8/src/heap/
heap.h 219 V(Smi, stack_limit, StackLimit) \
220 V(Smi, real_stack_limit, RealStackLimit) \
221 V(Smi, last_script_id, LastScriptId) \
222 V(Smi, hash_seed, HashSeed) \
225 V(Smi, next_template_serial_number, NextTemplateSerialNumber) \
226 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
227 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \
228 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
229 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \
230 V(Smi, interpreter_entry_return_pc_offset, InterpreterEntryReturnPCOffset
    [all...]
  /external/v8/src/ic/mips64/
ic-mips64.cc 70 Operand(Smi::FromInt(PropertyDetails::TypeField::kMask)));
117 __ And(at, scratch1, Operand(Smi::FromInt(kTypeAndReadOnlyMask)));
138 // Check that the object isn't a smi.
167 // key - holds the smi key on entry.
224 // The key is a smi.
243 // The key is not a smi.
359 // Check that the key is a smi.
362 // Now the key is known to be a smi. This place is also jumped to from below
363 // where a numeric string is converted to a smi.
419 __ li(slot, Operand(Smi::FromInt(slot_index)))
    [all...]

Completed in 1699 milliseconds

1 2 3 4 56 7 8 91011>>