/external/v8/src/x64/ |
code-stubs-x64.cc | 437 // input was a smi. We reset it with exponent value before bailing out. 666 // smi (code flushing support) [all...] |
builtins-x64.cc | 150 // Retrieve smi-tagged arguments count from the stack. 195 // If the result is a smi, it is *not* an object in the ECMA sense. 221 // Check that the result is not a Smi, indicating that the constructor result 585 Smi::FromInt(JSGeneratorObject::kGeneratorExecuting)); 667 DCHECK_EQ(Smi::FromInt(0), DebugInfo::uninitialized()); 691 // Push bytecode array and Smi tagged bytecode offset. 872 Smi* interpreter_entry_return_pc_offset( 874 DCHECK_NE(interpreter_entry_return_pc_offset, Smi::FromInt(0)); [all...] |
/external/v8/test/cctest/ |
types-fuzz.h | 70 smi = handle(Smi::FromInt(666), isolate); 76 SmiConstant = Type::Constant(smi, zone); 84 values.push_back(smi); 126 Handle<i::Smi> smi; member in class:v8::internal::Types
|
/external/v8/test/js-perf-test/Collections/ |
map.js | 6 var MapSmiBenchmark = new BenchmarkSuite('Map-Smi', [1000], [
|
set.js | 6 var SetSmiBenchmark = new BenchmarkSuite('Set-Smi', [1000], [
|
/external/v8/test/unittests/compiler/ |
js-type-feedback-unittest.cc | 64 SetGlobalProperty(string, Handle<Smi>(Smi::FromInt(value), isolate()));
|
/external/v8/src/arm64/ |
code-stubs-arm64.cc | 322 // Left is the smi. Check whether right is a heap number. 324 // If right is not a number and left is a smi, then strict equality cannot 335 // Smi compared non-strictly with a non-smi, non-heap-number. Call the 340 // Left is the smi. Right is a heap number. Load right value into right_d, and 341 // convert left smi into double in left_d. 347 // Right is a smi. Check whether the non-smi left is a heap number. 349 // If left is not a number and right is a smi then strict equality cannot 360 // Smi compared non-strictly with a non-smi, non-heap-number. Call th [all...] |
builtins-arm64.cc | 198 // to work out which HeapNumber (or smi) the result came from. 275 __ Mov(x2, Smi::FromInt(0)); 546 // jssp[0]: number of arguments (smi-tagged) 572 // jssp[2]: number of arguments (smi-tagged) 605 // jssp[1]: number of arguments (smi-tagged) 614 // If the result is a smi, it is *not* an object in the ECMA sense. 617 // jssp[1]: number of arguments (smi-tagged) 634 // jssp[1]: number of arguments (smi-tagged) 644 // Check that the result is not a Smi, indicating that the constructor result 814 __ Mov(x12, Smi::FromInt(JSGeneratorObject::kGeneratorExecuting)) [all...] |
/external/v8/src/crankshaft/ppc/ |
lithium-codegen-ppc.cc | 266 __ LoadSmiLiteral(scratch0(), Smi::FromInt(StackFrame::STUB)); 335 __ LoadSmiLiteral(ip, Smi::FromInt(StackFrame::STUB)); 418 __ LoadSmiLiteral(dst, Smi::FromInt(value)); 459 return reinterpret_cast<intptr_t>(Smi::FromInt(value)); 463 Smi* LCodeGen::ToSmi(LConstantOperand* op) const { 465 return Smi::FromInt(constant->Integer32Value()); 483 return Operand(Smi::FromInt(constant->Integer32Value())); 636 // Signal that we don't inline smi code before these stubs in the [all...] |
/external/v8/src/crankshaft/s390/ |
lithium-codegen-s390.cc | 253 __ LoadSmiLiteral(scratch0(), Smi::FromInt(StackFrame::STUB)); 322 __ LoadSmiLiteral(ip, Smi::FromInt(StackFrame::STUB)); 399 __ LoadSmiLiteral(dst, Smi::FromInt(value)); 434 return reinterpret_cast<intptr_t>(Smi::FromInt(value)); 437 Smi* LCodeGen::ToSmi(LConstantOperand* op) const { 439 return Smi::FromInt(constant->Integer32Value()); 455 return Operand(Smi::FromInt(constant->Integer32Value())); 601 // Signal that we don't inline smi code before these stubs in the [all...] |
/external/v8/src/ |
api-arguments.h | 88 Smi::FromInt(should_throw == Object::THROW_ON_ERROR ? 1 : 0);
|
json-parser.cc | 132 Handle<Object> arg1 = Handle<Smi>(Smi::FromInt(position_), isolate()); 543 return Handle<Smi>(Smi::FromInt((negative ? -i : i)), isolate());
|
runtime-profiler.cc | 309 if (ticks < Smi::kMaxValue) {
|
type-feedback-vector-inl.h | 41 return Smi::cast(get(kSlotsCountIndex))->value();
|
builtins.cc | 150 *out = Smi::cast(object)->value(); 187 *out = Max(0, Smi::cast(len_obj)->value()); 355 // Smi receivers do not have own properties. 400 int len = Smi::cast(array->length())->value(); 401 if (to_add == 0) return Smi::FromInt(len); 404 DCHECK_LE(to_add, Smi::kMaxValue - Smi::cast(array->length())->value()); 412 return Smi::FromInt(new_length); 439 uint32_t len = static_cast<uint32_t>(Smi::cast(array->length())->value()); 471 int len = Smi::cast(array->length())->value() [all...] |
contexts.cc | 23 CHECK(length < Smi::kMaxValue / 2); 611 set_errors_thrown(Smi::FromInt(previous_value + 1));
|
/external/v8/src/crankshaft/ |
hydrogen-instructions.h | 234 return lower_ >= Smi::kMinValue && upper_ <= Smi::kMaxValue; 237 lower_ = Max(lower_, Smi::kMinValue); 238 upper_ = Min(upper_, Smi::kMaxValue); 526 if (t.IsSmi()) return Representation::Smi(); 542 // smi checks...). [all...] |
/external/v8/src/full-codegen/ |
full-codegen.cc | 108 data->SetPcAndState(i, Smi::FromInt(bailout_entries_[i].pc_and_state)); 213 DCHECK(Smi::IsValid(pc_and_state)); 236 // Inline smi case inside loops, but not division and modulo which 459 void FullCodeGenerator::PushOperand(Smi* smi) { 461 __ Push(smi); 700 context()->Plug(handle(Smi::FromInt(0), isolate())); [all...] |
/external/v8/src/ic/mips/ |
ic-mips.cc | 139 // Check that the object isn't a smi. 168 // key - holds the smi key on entry. 225 // The key is a smi. 243 // The key is not a smi. 360 // Check that the key is a smi. 363 // Now the key is known to be a smi. This place is also jumped to from below 364 // where a numeric string is converted to a smi. 420 __ li(slot, Operand(Smi::FromInt(slot_index))); 444 // Now jump to the place where smi keys are handled. 486 // Smi stores don't require further checks [all...] |
/external/v8/src/crankshaft/mips64/ |
lithium-codegen-mips64.cc | 255 __ li(scratch0(), Operand(Smi::FromInt(StackFrame::STUB))); 323 __ li(at, Operand(Smi::FromInt(StackFrame::STUB))); 385 __ li(scratch, Operand(Smi::FromInt(constant->Integer32Value()))); 469 return reinterpret_cast<int64_t>(Smi::FromInt(value)); 473 Smi* LCodeGen::ToSmi(LConstantOperand* op) const { 475 return Smi::FromInt(constant->Integer32Value()); 493 return Operand(Smi::FromInt(constant->Integer32Value())); [all...] |
/external/v8/src/s390/ |
macro-assembler-s390.h | 212 void Move(Register dst, Smi* smi) { LoadSmiLiteral(dst, smi); } 526 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } 646 // Converts the integer (untagged smi) in |src| to a double, storing 650 // Converts the unsigned integer (untagged smi) in |src| to 654 // Converts the integer (untagged smi) in |src| t [all...] |
/external/v8/src/crankshaft/arm/ |
lithium-codegen-arm.cc | 265 __ Move(scratch0(), Smi::FromInt(StackFrame::STUB)); 339 __ mov(ip, Operand(Smi::FromInt(StackFrame::STUB))); 487 return reinterpret_cast<int32_t>(Smi::FromInt(value)); 491 Smi* LCodeGen::ToSmi(LConstantOperand* op) const { 493 return Smi::FromInt(constant->Integer32Value()); 511 return Operand(Smi::FromInt(constant->Integer32Value())); 680 // Block literal pool emission to ensure nop indicating no inlined smi code 686 // Signal that we don't inline smi code before these stubs in the [all...] |
/external/v8/src/crankshaft/mips/ |
lithium-codegen-mips.cc | 279 __ li(scratch0(), Operand(Smi::FromInt(StackFrame::STUB))); 338 __ li(at, Operand(Smi::FromInt(StackFrame::STUB))); 402 __ li(scratch, Operand(Smi::FromInt(constant->Integer32Value()))); 484 return reinterpret_cast<int32_t>(Smi::FromInt(value)); 488 Smi* LCodeGen::ToSmi(LConstantOperand* op) const { 490 return Smi::FromInt(constant->Integer32Value()); 508 return Operand(Smi::FromInt(constant->Integer32Value())); [all...] |
/external/v8/test/mjsunit/ |
array-sort.js | 80 assertFalse(%_IsSmi(2147483648), 'Update test for >32 bit Smi'); 87 x = x | 0; // Canonicalizes to Smi if 32-bit signed and fits in Smi.
|
/external/v8/src/crankshaft/ia32/ |
lithium-gap-resolver-ia32.cc | 292 ? Representation::Smi() : Representation::Integer32(); 316 ? Representation::Smi() : Representation::Integer32();
|