/external/v8/src/arm/ |
builtins-arm.cc | 253 __ Move(r0, Smi::FromInt(0)); 282 __ Move(r2, Smi::FromInt(0)); 550 // Retrieve smi-tagged arguments count from the stack. 574 // r4: number of arguments (smi-tagged) 577 // sp[2]: number of arguments (smi-tagged) 604 // sp[1]: number of arguments (smi-tagged) 613 // If the result is a smi, it is *not* an object in the ECMA sense. 616 // sp[1]: number of arguments (smi-tagged) 634 // sp[1]: number of arguments (smi-tagged) 644 // Check that the result is not a Smi, indicating that the constructor resul [all...] |
/external/v8/src/crankshaft/ |
hydrogen-instructions.cc | 132 if (result > Smi::kMaxValue) { 134 return Smi::kMaxValue; 136 if (result < Smi::kMinValue) { 138 return Smi::kMinValue; 947 index_rep = Representation::Smi(); 950 length_rep = Representation::Smi(); 971 // In case of Smi representation, clamp result to Smi::kMaxValue. 1067 if (expected_input_types_.Contains(ToBooleanICStub::SMI)) { 1068 return Representation::Smi(); [all...] |
/external/v8/src/mips/ |
builtins-mips.cc | 203 // We need to work out which HeapNumber (or smi) the result came from. 260 __ Move(v0, Smi::FromInt(0)); 290 __ Move(a0, Smi::FromInt(0)); 550 // Retrieve smi-tagged arguments count from the stack. 573 // t4: number of arguments (smi-tagged) 576 // sp[2]: number of arguments (smi-tagged) 610 // If the result is a smi, it is *not* an object in the ECMA sense. 613 // sp[1]: number of arguments (smi-tagged) 631 // sp[1]: number of arguments (smi-tagged) 641 // Check that the result is not a Smi, indicating that the constructor resul [all...] |
/external/v8/src/ppc/ |
macro-assembler-ppc.h | 156 void Move(Register dst, Smi* smi) { LoadSmiLiteral(dst, smi); } 267 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } 372 // Converts the integer (untagged smi) in |src| to a double, storing 376 // Converts the unsigned integer (untagged smi) in |src| to 380 // Converts the integer (untagged smi) in |src| t [all...] |
builtins-ppc.cc | 263 __ LoadSmiLiteral(r3, Smi::FromInt(0)); 294 __ LoadSmiLiteral(r5, Smi::FromInt(0)); 565 // Retrieve smi-tagged arguments count from the stack. 586 // sp[2]: number of arguments (smi-tagged) 616 // sp[1]: number of arguments (smi-tagged) 625 // If the result is a smi, it is *not* an object in the ECMA sense. 628 // sp[1]: number of arguments (smi-tagged) 646 // sp[1]: number of arguments (smi-tagged) 656 // Check that the result is not a Smi, indicating that the constructor result 841 Smi::FromInt(JSGeneratorObject::kGeneratorExecuting)) [all...] |
/external/v8/src/heap/ |
incremental-marking.cc | 618 Object* weak_cell_head = Smi::FromInt(0); 620 while (weak_cell_obj != Smi::FromInt(0)) { 623 // cannot be a Smi here. 638 if (weak_cell_head == Smi::FromInt(0)) { 683 int age = Smi::cast(retained_maps->Get(i + 1))->value(); 707 retained_maps->Set(i + 1, Smi::FromInt(new_age)); [all...] |
mark-compact.cc | [all...] |
/external/v8/src/ia32/ |
builtins-ia32.cc | 148 // Retrieve smi-tagged arguments count from the stack. 195 // If the result is a smi, it is *not* an object in the ECMA sense. 220 // Check that the result is not a Smi, indicating that the constructor result 439 __ sub(ecx, Immediate(Smi::FromInt(1))); 482 __ Move(ecx, Smi::FromInt(0)); 488 __ add(ecx, Immediate(Smi::FromInt(1))); 504 Immediate(Smi::FromInt(JSGeneratorObject::kGeneratorExecuting))); 607 // Push Smi tagged initial bytecode array offset. 608 __ push(Immediate(Smi::FromInt(BytecodeArray::kHeaderSize - kHeapObjectTag))); 798 Smi* interpreter_entry_return_pc_offset [all...] |
/external/v8/src/ic/arm/ |
ic-arm.cc | 136 // Check that the object isn't a smi. 166 // key - holds the smi key on entry. 237 // The key is not a smi. 355 // Check that the key is a smi. 358 // Now the key is known to be a smi. This place is also jumped to from below 359 // where a numeric string is converted to a smi. 416 __ mov(slot, Operand(Smi::FromInt(slot_index))); 440 // Now jump to the place where smi keys are handled. 495 // Smi stores don't require further checks. 501 __ add(scratch, key, Operand(Smi::FromInt(1))) [all...] |
/external/v8/src/ic/ia32/ |
ic-ia32.cc | 146 // Check that the object isn't a smi. 174 // key - holds the key and is unchanged (must be a smi). 236 // key - holds the key and is unchanged. Assumed to be non-smi. 271 // Check that the key is a smi. 274 // Now the key is known to be a smi. This place is also jumped to from 275 // where a numeric string is converted to a smi. 336 __ push(Immediate(Smi::FromInt(slot))); 364 // Now jump to the place where smi keys are handled. 381 // key is a smi. 404 // Smi stores don't require further checks [all...] |
/external/v8/src/ic/x64/ |
ic-x64.cc | 71 Smi::FromInt(PropertyDetails::TypeField::kMask)); 122 Smi::FromInt(kTypeAndReadOnlyMask)); 147 // Check that the object isn't a smi. 176 // key - holds the smi key on entry. 201 __ SmiCompare(key, Smi::FromInt(0)); 247 // key - holds the key and is unchanged. Assumed to be non-smi. 282 // Check that the key is a smi. 285 // Now the key is known to be a smi. This place is also jumped to from below 286 // where a numeric string is converted to a smi. 341 __ Move(slot, Smi::FromInt(slot_index)) [all...] |
/external/v8/src/ic/x87/ |
ic-x87.cc | 146 // Check that the object isn't a smi. 174 // key - holds the key and is unchanged (must be a smi). 236 // key - holds the key and is unchanged. Assumed to be non-smi. 271 // Check that the key is a smi. 274 // Now the key is known to be a smi. This place is also jumped to from 275 // where a numeric string is converted to a smi. 336 __ push(Immediate(Smi::FromInt(slot))); 364 // Now jump to the place where smi keys are handled. 381 // key is a smi. 404 // Smi stores don't require further checks [all...] |
/external/v8/src/mips64/ |
builtins-mips64.cc | 202 // We need to work out which HeapNumber (or smi) the result came from. 256 __ Move(v0, Smi::FromInt(0)); 285 __ Move(a0, Smi::FromInt(0)); 562 // t0: number of arguments (smi-tagged) 565 // sp[2]: number of arguments (smi-tagged) 599 // If the result is a smi, it is *not* an object in the ECMA sense. 602 // sp[1]: number of arguments (smi-tagged) 620 // sp[1]: number of arguments (smi-tagged) 630 // Check that the result is not a Smi, indicating that the constructor result 801 __ li(a2, Operand(Smi::FromInt(JSGeneratorObject::kGeneratorExecuting))) [all...] |
/external/v8/src/runtime/ |
runtime-internal.cc | 63 int length = Smi::cast(array->length())->value(); 125 Smi::cast(stack_elements->get(4))->value() >= 0); 126 stack_elements->set(4, Smi::FromInt(-1 - byte_offset)); 146 &it, handle(Smi::FromInt(byte_offset + 1), isolate)); 374 return Smi::FromInt(message->start_position());
|
runtime-classes.cc | 165 handle(Smi::FromInt(start_position), isolate), STRICT), 170 handle(Smi::FromInt(end_position), isolate), STRICT),
|
/external/v8/src/x87/ |
builtins-x87.cc | 148 // Retrieve smi-tagged arguments count from the stack. 196 // 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 440 __ sub(ecx, Immediate(Smi::FromInt(1))); 483 __ Move(ecx, Smi::FromInt(0)); 489 __ add(ecx, Immediate(Smi::FromInt(1))); 505 Immediate(Smi::FromInt(JSGeneratorObject::kGeneratorExecuting))); 608 // Push Smi tagged initial bytecode array offset. 609 __ push(Immediate(Smi::FromInt(BytecodeArray::kHeaderSize - kHeapObjectTag))); 799 Smi* interpreter_entry_return_pc_offset [all...] |
/external/v8/src/crankshaft/x64/ |
lithium-codegen-x64.cc | 332 __ Move(MemOperand(rsp, 2 * kPointerSize), Smi::FromInt(StackFrame::STUB)); 371 __ Push(Smi::FromInt(StackFrame::STUB)); 456 return static_cast<int32_t>(reinterpret_cast<intptr_t>(Smi::FromInt(value))); 460 Smi* LCodeGen::ToSmi(LConstantOperand* op) const { 462 return Smi::FromInt(constant->Integer32Value()); 607 // Signal that we don't inline smi code before these stubs in the 2896 Condition smi = __ CheckSmi(result); local [all...] |
/external/v8/src/s390/ |
builtins-s390.cc | 250 __ LoadSmiLiteral(r2, Smi::FromInt(0)); 281 __ LoadSmiLiteral(r4, Smi::FromInt(0)); 547 // Retrieve smi-tagged arguments count from the stack. 569 // sp[2]: number of arguments (smi-tagged) 599 // sp[1]: number of arguments (smi-tagged) 608 // If the result is a smi, it is *not* an object in the ECMA sense. 612 // sp[2]: number of arguments (smi-tagged) 630 // sp[1]: number of arguments (smi-tagged) 640 // Check that the result is not a Smi, indicating that the constructor result 819 Smi::FromInt(JSGeneratorObject::kGeneratorExecuting)) [all...] |
/external/v8/src/ |
transitions.cc | 367 Smi::FromInt(value)); 398 array->set(kPrototypeTransitionsIndex, Smi::FromInt(0)); 399 array->set(kTransitionLengthIndex, Smi::FromInt(number_of_transitions));
|
frames.cc | 287 // the number of arguments is stored on stack as Smi. We need to check 288 // that it really an Smi. 486 static_cast<StackFrame::Type>(Smi::cast(marker)->value()); 681 static_cast<StackFrame::Type>(Smi::cast(marker)->value()); [all...] |
/external/v8/test/cctest/heap/ |
test-mark-compact.cc | 174 Handle<Smi> twenty_three(Smi::FromInt(23), isolate); 188 Smi::FromInt(23));
|
/external/v8/test/cctest/ |
test-feedback-vector.cc | 174 vector->Set(helper.slot(0), Smi::FromInt(1)); 189 CHECK_EQ(Smi::FromInt(1), vector->Get(helper.slot(0))); 269 CHECK_EQ(3, Smi::cast(feedback_vector->Get(cslot))->value());
|
/external/v8/test/mjsunit/ |
track-fields.js | 43 // o1,o2 are smi, smi, smi 46 // o1 is smi, double, smi 49 // o2 is smi, double, smi 52 // o3 is initialized as smi, double, smi 70 // All smi [all...] |
/external/v8/src/crankshaft/x87/ |
lithium-gap-resolver-x87.cc | 293 ? Representation::Smi() : Representation::Integer32(); 313 ? Representation::Smi() : Representation::Integer32();
|
/external/v8/src/interpreter/ |
bytecode-array-writer.cc | 258 OperandSize::kByte, handle(Smi::FromInt(delta), isolate())); 281 OperandSize::kShort, handle(Smi::FromInt(delta), isolate()));
|