Home
last modified time | relevance | path

Searched refs:smi_value (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/
Dstring-builder.cc65 int smi_value = Smi::ToInt(elt); in StringBuilderConcatLength() local
68 if (smi_value > 0) { in StringBuilderConcatLength()
70 pos = StringBuilderSubstringPosition::decode(smi_value); in StringBuilderConcatLength()
71 len = StringBuilderSubstringLength::decode(smi_value); in StringBuilderConcatLength()
74 len = -smi_value; in StringBuilderConcatLength()
Dcode-stub-assembler.cc11778 TNode<Smi> smi_value = CAST(value); in NumberInc() local
11780 var_result = TrySmiAdd(smi_value, one, &if_overflow); in NumberInc()
11785 var_finc_value = SmiToFloat64(smi_value); in NumberInc()
11820 TNode<Smi> smi_value = CAST(value); in NumberDec() local
11823 var_result = TrySmiSub(smi_value, one, &if_overflow); in NumberDec()
11828 var_fdec_value = SmiToFloat64(smi_value); in NumberDec()
/external/v8/src/interpreter/
Dinterpreter-generator.cc1128 virtual TNode<Number> SmiOp(TNode<Smi> smi_value, Variable* var_feedback,
1229 TNode<Number> SmiOp(TNode<Smi> smi_value, Variable* var_feedback, in SmiOp() argument
1234 GotoIf(SmiEqual(smi_value, SmiConstant(0)), &if_zero); in SmiOp()
1237 GotoIf(SmiEqual(smi_value, SmiConstant(Smi::kMinValue)), &if_min_smi); in SmiOp()
1241 var_result = SmiSub(SmiConstant(0), smi_value); in SmiOp()
1250 var_float->Bind(SmiToFloat64(smi_value)); in SmiOp()
/external/v8/src/parsing/
Dscanner.h338 uint32_t smi_value() const { return current().smi_value_; } in smi_value() function
Dparser.cc337 uint32_t value = scanner()->smi_value(); in ExpressionFromLiteral()
/external/v8/src/compiler/
Dcode-assembler.cc264 int smi_value; in NumberConstant() local
265 if (DoubleToSmiInteger(value, &smi_value)) { in NumberConstant()
266 return UncheckedCast<Number>(SmiConstant(smi_value)); in NumberConstant()
Deffect-control-linearizer.cc4311 Node* smi_value = ChangeInt32ToSmi(value); in LowerStoreSignedSmallElement() local
4312 __ StoreElement(access, elements, index, smi_value); in LowerStoreSignedSmallElement()
/external/v8/src/builtins/
Dbuiltins-regexp-gen.cc592 TNode<Smi> smi_value = SmiFromInt32(value); in RegExpExecInternal()
594 var_to_offset.value(), smi_value); in RegExpExecInternal()
/external/v8/src/heap/
Dfactory.cc3591 int smi_value; in NumberToString() local
3592 if (DoubleToSmiInteger(double_value, &smi_value)) { in NumberToString()
3593 return NumberToString(Smi::FromInt(smi_value), check_cache); in NumberToString()