/external/v8/src/mips/ |
ic-mips.cc | 78 // Check that the receiver isn't a smi. 273 // Check that the object isn't a smi. 307 // key - holds the smi key on entry. 341 // The key is a smi. 363 // The key is not a smi. 385 // The generated code does not accept smi keys. 452 // Check that the value isn't a smi. 582 // Check that the key is a smi. 585 // Now the key is known to be a smi. This place is also jumped to from below 586 // where a numeric string is converted to a smi [all...] |
assembler-mips-inl.h | 65 Operand::Operand(Smi* value) {
|
/external/v8/src/x64/ |
builtins-x64.cc | 91 // Store a smi-tagged arguments count on the stack. 116 // Will both indicate a NULL and a Smi 295 // Retrieve smi-tagged arguments count from the stack. 344 // If the result is a smi, it is *not* an object in the ECMA sense. 577 __ Push(Smi::FromInt(static_cast<int>(type))); [all...] |
ic-x64.cc | 148 Smi::FromInt(PropertyDetails::TypeField::kMask)); 211 Smi::FromInt(kTypeAndReadOnlyMask)); 283 // Check that the object isn't a smi. 317 // key - holds the smi key on entry. 369 // key - holds the key and is unchanged. Assumed to be non-smi. 398 // Check that the key is a smi. 401 // Now the key is known to be a smi. This place is also jumped to from below 402 // where a numeric string is converted to a smi. 592 // Check that the receiver isn't a smi. 641 // Check that the object isn't a smi [all...] |
lithium-codegen-x64.cc | 463 // Signal that we don't inline smi code before these stubs in the 570 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_)); 579 data->SetOsrAstId(Smi::FromInt(info_->osr_ast_id())); 580 data->SetOsrPcOffset(Smi::FromInt(osr_pc_offset_)); 585 data->SetAstId(i, Smi::FromInt(env->ast_id())); 586 data->SetTranslationIndex(i, Smi::FromInt(env->translation_index())); 588 Smi::FromInt(env->arguments_stack_height())); 589 data->SetPc(i, Smi::FromInt(env->pc_offset())); [all...] |
/external/v8/src/ |
api.cc | 835 obj_.set(0, i::Smi::FromInt(0)); 840 return i::Smi::cast(obj_.get(0))->value(); 866 obj_.set(0, i::Smi::FromInt(length + 1)); 880 that->set_tag(i::Smi::FromInt(type)); 905 info->set_tag(i::Smi::FromInt(Consts::FUNCTION_TEMPLATE)); 946 obj->set_serial_number(i::Smi::FromInt(next_serial_number)); [all...] |
disassembler.cc | 260 uint32_t key = Smi::cast(obj)->value();
|
jsregexp.h | 150 return Smi::cast(array->get(index + kFirstCapture))->value(); 154 array->set(kLastCaptureCount, Smi::FromInt(to)); 166 array->set(index + kFirstCapture, Smi::FromInt(to)); 170 return Smi::cast(array->get(kLastCaptureCount))->value(); [all...] |
mark-compact.cc | 280 ASSERT(encountered_weak_maps_ == Smi::FromInt(0)); [all...] |
/external/v8/src/ia32/ |
lithium-codegen-ia32.cc | 461 // Signal that we don't inline smi code before these stubs in the 569 __ sub(Operand(eax), Immediate(Smi::FromInt(1))); 572 __ mov(eax, Immediate(Smi::FromInt(FLAG_deopt_every_n_times))); 611 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_)); 620 data->SetOsrAstId(Smi::FromInt(info_->osr_ast_id())); 621 data->SetOsrPcOffset(Smi::FromInt(osr_pc_offset_)); 626 data->SetAstId(i, Smi::FromInt(env->ast_id())); 627 data->SetTranslationIndex(i, Smi::FromInt(env->translation_index())); 629 Smi::FromInt(env->arguments_stack_height())); 630 data->SetPc(i, Smi::FromInt(env->pc_offset())) [all...] |
stub-cache-ia32.cc | 226 // Check that the receiver isn't a smi. 296 // Check that the receiver isn't a smi. 314 Label* smi, 316 // Check that the object isn't a smi. 317 __ JumpIfSmi(receiver, smi); 341 // Load length from the string and convert to a smi. 441 __ push(Immediate(Smi::FromInt(0))); 550 // Check that the receiver isn't a smi. 1951 Label smi; local [all...] |
/external/chromium_org/v8/src/ |
api.cc | 792 ApiCheck(value->IsSmi(), location, "Not a Smi"); 797 static i::Smi* EncodeAlignedAsSmi(void* value, const char* location) { 798 i::Smi* smi = reinterpret_cast<i::Smi*>(value); local 799 ApiCheck(smi->IsSmi(), location, "Pointer is not aligned"); 800 return smi; 912 obj_.set(0, i::Smi::FromInt(0)); 917 return i::Smi::cast(obj_.get(0))->value(); 944 obj_.set(0, i::Smi::FromInt(length + 1)) [all...] |
factory.h | 586 if (Smi::IsValid(static_cast<intptr_t>(value))) { 587 return Handle<Object>(Smi::FromIntptr(static_cast<intptr_t>(value)),
|
arguments.h | 68 return Smi::cast((*this)[index])->value();
|
ast.cc | 297 // computed fields (value is undefined), and smi and double literals 318 int key_value = Smi::cast(*key)->value(); 367 array, i, handle(Smi::FromInt(0), isolate), kNonStrictMode); 389 literals->set(0, Smi::FromInt(kind)); [all...] |
compiler.cc | 657 script->set_eval_from_instructions_offset(Smi::FromInt(offset)); 800 script->set_type(Smi::FromInt(Script::TYPE_NATIVE)); 804 script->set_line_offset(Smi::FromInt(line_offset)); 805 script->set_column_offset(Smi::FromInt(column_offset)); [all...] |
jsregexp.h | 199 return Smi::cast(array->get(index + kFirstCapture))->value(); 203 array->set(kLastCaptureCount, Smi::FromInt(to)); 215 array->set(index + kFirstCapture, Smi::FromInt(to)); 219 return Smi::cast(array->get(kLastCaptureCount))->value(); [all...] |
ic.cc | 810 // Use the KeyedArrayCallStub if the call is of the form array[smi](...), [all...] |
/external/chromium_org/v8/src/ia32/ |
lithium-gap-resolver-ia32.cc | 310 ? Representation::Smi() : Representation::Integer32(); 343 ? Representation::Smi() : Representation::Integer32();
|
macro-assembler-ia32.cc | 516 // Skip barrier if writing a smi. 524 // KeyedStoreIC::GenerateGeneric. Multiply a smi by 2 to get an offset 556 // Skip barrier if writing a smi. 685 // Skip barrier if writing a smi. 884 // Value is a smi. Convert to a double and store. [all...] |
/external/chromium_org/v8/test/mjsunit/ |
smi-ops.js | 61 assertEquals(42 + ONE, Add1(OBJ_42)); // non-smi 62 assertEquals(42 + ONE, Add1Reversed(OBJ_42)); // non-smi 68 assertEquals(42 + ONE_HUNDRED, Add100(OBJ_42)); // non-smi 69 assertEquals(42 + ONE_HUNDRED, Add100Reversed(OBJ_42)); // non-smi 94 assertEquals(42 - ONE, Sub1(OBJ_42)); // non-smi 95 assertEquals(ONE - 42, Sub1Reversed(OBJ_42)); // non-smi 101 assertEquals(42 - ONE_HUNDRED, Sub100(OBJ_42)); // non-smi 102 assertEquals(ONE_HUNDRED - 42, Sub100Reversed(OBJ_42)); // non-smi 225 // Not actually Smi operations. 241 // Smi input to bitop gives non-smi result where the rhs is a float tha [all...] |
/external/v8/test/cctest/ |
test-mark-compact.cc | 220 Smi::FromInt(23), 235 CHECK(obj->GetProperty(prop_name) == Smi::FromInt(23));
|
/external/v8/test/mjsunit/ |
smi-ops.js | 61 assertEquals(42 + ONE, Add1(OBJ_42)); // non-smi 62 assertEquals(42 + ONE, Add1Reversed(OBJ_42)); // non-smi 68 assertEquals(42 + ONE_HUNDRED, Add100(OBJ_42)); // non-smi 69 assertEquals(42 + ONE_HUNDRED, Add100Reversed(OBJ_42)); // non-smi 94 assertEquals(42 - ONE, Sub1(OBJ_42)); // non-smi 95 assertEquals(ONE - 42, Sub1Reversed(OBJ_42)); // non-smi 101 assertEquals(42 - ONE_HUNDRED, Sub100(OBJ_42)); // non-smi 102 assertEquals(ONE_HUNDRED - 42, Sub100Reversed(OBJ_42)); // non-smi 225 // Not actually Smi operations. 241 // Smi input to bitop gives non-smi result where the rhs is a float tha [all...] |
/external/chromium_org/v8/src/x64/ |
lithium-codegen-x64.h | 91 Smi* ToSmi(LConstantOperand* op) const;
|
/external/v8/src/arm/ |
assembler-arm-inl.h | 292 Operand::Operand(Smi* value) {
|