/external/v8/test/unittests/interpreter/ |
bytecode-array-builder-unittest.cc | 42 builder.LoadLiteral(Smi::FromInt(0)) 44 .LoadLiteral(Smi::FromInt(8)) 46 .LoadLiteral(Smi::FromInt(10000000)) 194 .LoadLiteral(Smi::FromInt(0)) 196 .LoadLiteral(Smi::FromInt(0)) 265 builder.LoadLiteral(Smi::FromInt(20000000)); 426 builder.LoadLiteral(Smi::FromInt(0)); 430 builder.LoadLiteral(Smi::FromInt(0)); 500 Handle<Object> large_smi(Smi::FromInt(0x12345678), isolate()); 602 Smi::FromInt(kFarJumpDistance)) [all...] |
/external/v8/src/ |
objects-inl.h | 41 PropertyDetails::PropertyDetails(Smi* smi) { 42 value_ = smi->value(); 46 Smi* PropertyDetails::AsSmi() const { 50 return Smi::FromInt(value >> 1); 90 // Getter that returns a Smi as an int and writes an int as a Smi. 94 return Smi::cast(value)->value(); \ 97 WRITE_FIELD(this, offset, Smi::FromInt(value)); \ 103 return Smi::cast(value)->value(); [all...] |
contexts-inl.h | 23 return Smi::cast(get(kUsedSlot))->value(); 28 set(kUsedSlot, Smi::FromInt(used));
|
date.h | 201 Smi* stamp() { return stamp_; } 263 Smi* stamp_;
|
json-stringifier.h | 48 Handle<Object>(Smi::FromInt(i), isolate)); 67 Result SerializeSmi(Smi* object);
|
transitions-inl.h | 29 return get(kPrototypeTransitionsIndex) != Smi::FromInt(0); 178 set(kTransitionLengthIndex, Smi::FromInt(number_of_transitions));
|
arguments.h | 53 return Smi::cast((*this)[index])->value();
|
date.cc | 26 static const int kMaxStamp = Smi::kMaxValue; 28 stamp_ = Smi::FromInt(0); 30 stamp_ = Smi::FromInt(stamp_->value() + 1); 32 DCHECK(stamp_ != Smi::FromInt(kInvalidStamp));
|
type-feedback-vector.cc | 36 int data = Smi::cast(get(index))->value(); 45 Smi* key = Smi::FromInt(slot.ToInt()); 61 int data = Smi::cast(get(index))->value(); 63 set(index, Smi::FromInt(new_data)); 98 array->set(kSlotsCountIndex, Smi::FromInt(slot_count)); 101 array->set(kReservedIndexCount + i, Smi::FromInt(0)); 122 names->set(entry + kNameTableSlotIndex, Smi::FromInt(i)); 494 SetFeedbackExtra(Smi::FromInt(static_cast<int>(property_type)), 502 SetFeedbackExtra(Smi::FromInt(static_cast<int>(property_type)) [all...] |
/external/v8/src/debug/arm/ |
debug-arm.cc | 77 __ mov(ip, Operand(Smi::FromInt(LiveEdit::kFramePaddingValue))); 81 __ mov(ip, Operand(Smi::FromInt(LiveEdit::kFramePaddingInitialSize)));
|
/external/v8/src/debug/arm64/ |
debug-arm64.cc | 90 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingValue)); 92 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingInitialSize));
|
/external/v8/src/debug/ia32/ |
debug-ia32.cc | 67 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingValue))); 69 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingInitialSize)));
|
/external/v8/src/debug/mips/ |
debug-mips.cc | 71 __ li(at, Operand(Smi::FromInt(LiveEdit::kFramePaddingValue))); 77 __ li(at, Operand(Smi::FromInt(LiveEdit::kFramePaddingInitialSize)));
|
/external/v8/src/debug/mips64/ |
debug-mips64.cc | 73 __ li(at, Operand(Smi::FromInt(LiveEdit::kFramePaddingValue))); 79 __ li(at, Operand(Smi::FromInt(LiveEdit::kFramePaddingInitialSize)));
|
/external/v8/src/debug/ppc/ |
debug-ppc.cc | 79 __ LoadSmiLiteral(ip, Smi::FromInt(LiveEdit::kFramePaddingValue)); 83 __ LoadSmiLiteral(ip, Smi::FromInt(LiveEdit::kFramePaddingInitialSize));
|
/external/v8/src/debug/s390/ |
debug-s390.cc | 84 __ LoadSmiLiteral(ip, Smi::FromInt(LiveEdit::kFramePaddingValue)); 88 __ LoadSmiLiteral(ip, Smi::FromInt(LiveEdit::kFramePaddingInitialSize));
|
/external/v8/src/debug/x64/ |
debug-x64.cc | 68 __ Push(Smi::FromInt(LiveEdit::kFramePaddingValue)); 70 __ Push(Smi::FromInt(LiveEdit::kFramePaddingInitialSize));
|
/external/v8/src/debug/x87/ |
debug-x87.cc | 67 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingValue))); 69 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingInitialSize)));
|
/external/v8/src/compiler/ |
js-frame-specialization.cc | 57 value = handle(Smi::FromInt(parameters_count - 1), isolate());
|
/external/v8/src/debug/ |
liveedit.cc | 336 Handle<Object>(Smi::FromInt(char_pos1), isolate)); 339 Handle<Object>(Smi::FromInt(char_pos1 + char_len1), 343 Handle<Object>(Smi::FromInt(char_pos2 + char_len2), 440 return Smi::cast(ends_array_->get(index))->value() + 1; 606 return Smi::cast(length)->value(); 760 Handle<Smi> start_pos( 761 Smi::FromInt(message_location.start_pos()), isolate); 762 Handle<Smi> end_pos(Smi::FromInt(message_location.end_pos()), isolate); [all...] |
/external/v8/src/wasm/ |
wasm-debug.cc | 178 offset_table->set(idx++, Smi::FromInt(std::get<0>(elem))); 179 offset_table->set(idx++, Smi::FromInt(std::get<1>(elem))); 180 offset_table->set(idx++, Smi::FromInt(std::get<2>(elem)));
|
/external/v8/test/cctest/compiler/ |
codegen-tester.cc | 386 if (Smi::IsValid(v)) { 389 CHECK_EQ(Smi::FromInt(v), m.Call()); 425 for (int32_t i = 1; i < Smi::kMaxValue && i != 0; i = i << 1) { 433 RunSmiConstant(Smi::kMaxValue); 434 RunSmiConstant(Smi::kMaxValue - 1); 435 RunSmiConstant(Smi::kMinValue); 436 RunSmiConstant(Smi::kMinValue + 1); 450 for (int32_t i = 1; i < Smi::kMaxValue && i != 0; i = i << 1) { 456 RunNumberConstant(Smi::kMaxValue); 457 RunNumberConstant(Smi::kMaxValue - 1) [all...] |
test-simplified-lowering.cc | 75 if (expected <= Smi::kMinValue) return; 76 if (expected >= Smi::kMaxValue) return; 297 Smi* smis[] = {Smi::FromInt(1), Smi::FromInt(2), Smi::FromInt(3)}; 300 int offset = static_cast<int>(i * sizeof(Smi*)); 314 Smi* expected = Smi::FromInt(j); 323 Smi* smis[] = {Smi::FromInt(1), Smi::FromInt(2), Smi::FromInt(3)} [all...] |
/external/v8/test/cctest/ |
test-hydrogen-types.cc | 115 // T < Smi implies T = None or T = Smi for all T 119 ti.Equals(HType::Smi()) || 128 CHECK(!HType::Smi().IsHeapObject()); 143 CHECK(HType::Smi().IsTaggedPrimitive());
|
/external/v8/src/x64/ |
macro-assembler-x64.h | 286 // object being stored. |index| is the array index represented as a non-smi. 289 // value is a smi. 315 // the write barrier if the value is a smi. 418 // Smi tagging, untagging and operations on tagged smis. 422 void SafeMove(Register dst, Smi* src); 423 void SafePush(Smi* src); 425 // Conversions between tagged smi values and non-tagged integer values. 427 // Tag an integer value. The result must be known to be a valid smi value. 429 // based on the value of the resulting smi. 432 // Stores an integer32 value into a memory field that already holds a smi [all...] |