/external/v8/src/ |
code-stubs.cc | 25 return Smi::FromInt(0); 353 case CompareICState::SMI: 382 case CompareICState::SMI: 536 // Check if the {lhs} is a Smi or a HeapObject. 542 // Check if the {rhs} is also a Smi. 549 // Try fast Smi addition first. 553 // Check if the Smi additon overflowed. 662 // Check if {rhs} is a Smi. 679 // The {lhs} is a HeapNumber, the {rhs} is a Smi, just add them. 688 // Smi [all...] |
api.h | 97 if (obj == v8::internal::Smi::FromInt(0)) return nullptr; 108 if (obj == nullptr) return handle(v8::internal::Smi::FromInt(0), isolate);
|
code-stub-assembler.cc | 53 return SmiConstant(Smi::FromInt(0)); 270 if (ToInt32Constant(value, constant_value) && Smi::IsValid(constant_value)) { 271 return SmiConstant(Smi::FromInt(constant_value)); 360 Node* context = SmiConstant(Smi::FromInt(0)); 365 Smi::FromInt(AllocateDoubleAlignFlag::encode(false) | 711 SmiConstant(Smi::FromInt(length))); 764 SmiConstant(Smi::FromInt(length))); [all...] |
factory.h | 357 // The return value may be a smi or a heap number. 367 // We can't use Smi::IsValid() here because that operates on a signed 369 if (value <= static_cast<size_t>(Smi::kMaxValue)) { 370 return Handle<Object>(Smi::FromIntptr(static_cast<intptr_t>(value)),
|
keys.cc | 308 indices->set(index, Smi::FromInt(load_by_field_index)); 709 target_keys->set(i, Smi::FromInt(0));
|
contexts.h | 171 V(ERRORS_THROWN_INDEX, Smi, errors_thrown) \
|
globals.h | 308 // Mask for the sign bit in a smi. 429 class Smi; 832 // Used to specify if a macro instruction must perform a smi check on tagged [all...] |
messages.cc | 188 wasm_func_index_ = Smi::cast(*maybe_wasm_func_index)->value();
|
/external/v8/src/snapshot/ |
deserializer.cc | 97 if (isolate_->heap()->allocation_sites_list() == Smi::FromInt(0)) { 268 if (isolate_->heap()->allocation_sites_list() == Smi::FromInt(0)) { [all...] |
serializer.cc | 101 PutSmi(Smi::cast(*current)); 227 void Serializer::PutSmi(Smi* smi) { 228 sink_.Put(kOnePointerRawData, "Smi"); 229 byte* bytes = reinterpret_cast<byte*>(&smi);
|
/external/v8/src/x87/ |
macro-assembler-x87.h | 201 // Smi. All registers are clobbered by the operation RecordWriteArray 203 // value is a smi. 215 // write barrier if the value is a smi. 389 // Check if a map for a JSObject indicates that the object can have both smi 394 // Check if a map for a JSObject indicates that the object has fast smi only 410 // label if not. Skip the smi check if not required (object is known to be a 417 // to a specified target if equal. Skip the smi check if not required 461 // Smi tagging support. 471 // Modifies the register even if it does not contain a Smi! 484 // Jump the register contains a smi [all...] |
assembler-x87-inl.h | 356 Immediate::Immediate(Smi* value) {
|
/external/v8/test/cctest/wasm/ |
wasm-run-utils.h | 227 instance->function_table->set(i, Smi::FromInt(function->sig_index)); 544 deopt_data->set(1, Smi::FromInt(static_cast<int>(function_index())));
|
test-run-wasm-js.cc | 83 CHECK_EQ(expected, Smi::cast(*result)->value());
|
/external/v8/test/mjsunit/compiler/ |
escape-analysis.js | 401 // Test materialization of a field that requires a Smi value.
|
/external/v8/src/arm/ |
macro-assembler-arm.h | 164 void Move(Register dst, Smi* smi) { mov(dst, Operand(smi)); } 318 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } 554 // If |object| is neither smi nor heap number, |not_number| is jumped to [all...] |
assembler-arm-inl.h | 323 Operand::Operand(Smi* value) {
|
macro-assembler-arm.cc | 465 // Skip barrier if writing a smi. [all...] |
/external/v8/test/cctest/ |
test-unboxed-doubles.cc | 85 Representation::None(), Representation::Smi(), Representation::Double(), 954 Representation::Smi() [all...] |
/external/v8/src/crankshaft/ |
hydrogen.cc | [all...] |
/external/v8/src/compiler/ |
code-assembler.h | 212 Node* SmiConstant(Smi* value);
|
/external/v8/src/heap/ |
spaces-inl.h | 189 return static_cast<AllocationSpace>(Smi::cast(object_)->value());
|
/external/v8/src/ia32/ |
assembler-ia32-inl.h | 355 Immediate::Immediate(Smi* value) {
|
/external/v8/src/ppc/ |
assembler-ppc-inl.h | 389 Operand::Operand(Smi* value) {
|
/external/v8/src/s390/ |
assembler-s390-inl.h | 356 Operand::Operand(Smi* value) {
|