Lines Matching defs:literal

706     // Parse the function literal.
1010 Literal* literal = property->key()->AsLiteral();
1012 if (literal != NULL &&
1013 literal->handle()->IsString() &&
1014 !String::cast(*(literal->handle()))->Equals(
1016 !String::cast(*(literal->handle()))->AsArrayIndex(&dummy)) {
1017 Handle<String> key = Handle<String>::cast(literal->handle());
1023 Literal* literal = assignment->value()->AsLiteral();
1024 AssignmentFromConstant(key, literal->handle());
1134 Literal* literal;
1137 (literal = e_stat->expression()->AsLiteral()) != NULL &&
1138 literal->handle()->IsString()) {
1139 Handle<String> directive = Handle<String>::cast(literal->handle());
3076 // If we assign a function literal to a property we pretenure the
3077 // literal so it can be added as a constant function property.
3246 Handle<Object> literal = expression->AsLiteral()->handle();
3248 // Convert the literal to a boolean condition and negate it.
3249 bool condition = literal->ToBoolean()->IsTrue();
3252 } else if (literal->IsNumber()) {
3254 double value = literal->Number();
3379 // with positions recorded for function literal and confuse debugger.
3774 // Examine each literal element, and adjust the ElementsKind if the
3775 // literal element is not of a type that can be stored in the current
3837 // Remember both the literal's constant values as well as the ElementsKind
3865 // If value is a literal the property value is already set in the
3868 // If value is a materialized literal the property value is already set
3962 Literal* literal = property->key();
3963 HashMap::Entry* entry = props_.Lookup(literal, literal->Hash(), true);
4026 // Keep track of the number of elements in the object literal and
4029 // literal with fast elements will be a waste of space.
4191 // pretenure the literal so it can be added as a constant function
4302 // Logs a symbol creation of a literal or identifier.
4303 virtual void LogAsciiSymbol(int start, Vector<const char> literal) { }
4304 virtual void LogUtf16Symbol(int start, Vector<const uc16> literal) { }
4862 // Checks whether an octal literal was last seen between beg_pos and end_pos.
5101 // If the result of parsing is a literal string atom, and it has the
5346 // reading the backslash as a literal character instead
5502 // Try to parse a decimal literal that is no greater than the total number
5681 // We match JSC in reading the backslash as a literal