Home
last modified time | relevance | path

Searched refs:LanguageMode (Results 1 – 25 of 80) sorted by relevance

1234

/external/v8/src/objects/
Dcompilation-cache.h31 LanguageMode language_mode,
77 LanguageMode language_mode);
80 LanguageMode language_mode);
83 LanguageMode language_mode, int position);
88 LanguageMode language_mode,
92 Handle<Context> native_context, LanguageMode language_mode,
Dcompilation-cache-inl.h29 LanguageMode language_mode, in StringSharedHash()
58 LanguageMode language_mode = static_cast<LanguageMode>(language_unchecked); in HashForObject()
Dintl-objects.cc181 LanguageMode::kSloppy) in SetResolvedDateSettings()
192 factory->NewStringFromAsciiChecked(calendar_name), LanguageMode::kSloppy) in SetResolvedDateSettings()
212 factory->NewStringFromStaticChars("UTC"), LanguageMode::kSloppy) in SetResolvedDateSettings()
223 LanguageMode::kSloppy) in SetResolvedDateSettings()
238 factory->NewStringFromAsciiChecked(ns), LanguageMode::kSloppy) in SetResolvedDateSettings()
243 factory->undefined_value(), LanguageMode::kSloppy) in SetResolvedDateSettings()
256 factory->NewStringFromAsciiChecked(result), LanguageMode::kSloppy) in SetResolvedDateSettings()
262 factory->NewStringFromStaticChars("und"), LanguageMode::kSloppy) in SetResolvedDateSettings()
390 LanguageMode::kSloppy) in SetResolvedNumericSettings()
397 LanguageMode::kSloppy) in SetResolvedNumericSettings()
[all …]
Djs-proxy.h88 Handle<Object> receiver, LanguageMode language_mode);
92 Handle<JSProxy> proxy, Handle<Name> name, LanguageMode language_mode);
Dscope-info.h44 LanguageMode language_mode() const;
282 : public BitField<LanguageMode, CallsSloppyEvalField::kNext, 1> {};
/external/v8/src/
Dcompilation-cache.h87 LanguageMode language_mode);
90 LanguageMode language_mode,
122 LanguageMode language_mode, int position);
161 Handle<Context> native_context, LanguageMode language_mode);
168 Handle<Context> context, LanguageMode language_mode,
179 LanguageMode language_mode,
Dglobals.h299 enum class LanguageMode : bool { kSloppy, kStrict }; enum
302 inline size_t hash_value(LanguageMode mode) { in hash_value()
306 inline std::ostream& operator<<(std::ostream& os, const LanguageMode& mode) {
308 case LanguageMode::kSloppy:
310 case LanguageMode::kStrict:
316 inline bool is_sloppy(LanguageMode language_mode) { in is_sloppy()
317 return language_mode == LanguageMode::kSloppy; in is_sloppy()
320 inline bool is_strict(LanguageMode language_mode) { in is_strict()
321 return language_mode != LanguageMode::kSloppy; in is_strict()
325 return language_mode == static_cast<int>(LanguageMode::kSloppy) || in is_valid_language_mode()
[all …]
Dfeedback-vector.h122 inline LanguageMode GetLanguageModeFromSlotKind(FeedbackSlotKind kind) { in GetLanguageModeFromSlotKind()
131 return (kind <= FeedbackSlotKind::kLastSloppyKind) ? LanguageMode::kSloppy in GetLanguageModeFromSlotKind()
132 : LanguageMode::kStrict; in GetLanguageModeFromSlotKind()
252 inline LanguageMode GetLanguageMode(FeedbackSlot slot) const { in GetLanguageMode()
355 FeedbackSlot AddStoreICSlot(LanguageMode language_mode) { in AddStoreICSlot()
366 FeedbackSlot AddStoreGlobalICSlot(LanguageMode language_mode) { in AddStoreGlobalICSlot()
373 FeedbackSlot AddKeyedStoreICSlot(LanguageMode language_mode) { in AddKeyedStoreICSlot()
573 inline LanguageMode GetLanguageMode() const { in GetLanguageMode()
Dcompilation-cache.cc131 Handle<Context> native_context, LanguageMode language_mode) { in Lookup()
174 LanguageMode language_mode, in Put()
185 LanguageMode language_mode, in Lookup()
266 Handle<Context> native_context, LanguageMode language_mode) { in LookupScript()
276 LanguageMode language_mode, in LookupEval()
312 LanguageMode language_mode, in PutScript()
Dpending-compilation-error-handler.cc122 LanguageMode::kSloppy) in ThrowPendingError()
128 LanguageMode::kSloppy) in ThrowPendingError()
133 LanguageMode::kSloppy) in ThrowPendingError()
/external/v8/src/ic/
Dkeyed-store-generic.cc36 TNode<Object> value, LanguageMode language_mode);
44 LanguageMode language_mode);
58 Maybe<LanguageMode> language_mode, TNode<Smi> slot,
71 Maybe<LanguageMode> maybe_language_mode);
78 Nothing<LanguageMode>()); in EmitGenericPropertyStore()
130 TNode<Name> name, TNode<Object> value, LanguageMode language_mode) { in SetProperty()
139 LanguageMode language_mode) { in SetProperty()
662 Maybe<LanguageMode> maybe_language_mode) { in EmitGenericPropertyStore()
854 LanguageMode language_mode; in EmitGenericPropertyStore()
856 if (language_mode == LanguageMode::kStrict) { in EmitGenericPropertyStore()
[all …]
Dkeyed-store-generic.h25 TNode<Object> value, LanguageMode language_mode);
32 LanguageMode language_mode);
/external/v8/src/compiler/
Djs-operator.h345 NamedAccess(LanguageMode language_mode, Handle<Name> name, in NamedAccess()
350 LanguageMode language_mode() const { return language_mode_; } in language_mode()
356 LanguageMode const language_mode_;
402 StoreGlobalParameters(LanguageMode language_mode, in StoreGlobalParameters()
407 LanguageMode language_mode() const { return language_mode_; } in language_mode()
412 const LanguageMode language_mode_;
431 PropertyAccess(LanguageMode language_mode, VectorSlotPair const& feedback) in PropertyAccess()
434 LanguageMode language_mode() const { return language_mode_; } in language_mode()
439 LanguageMode const language_mode_;
775 const Operator* StoreProperty(LanguageMode language_mode, in NON_EXPORTED_BASE()
[all …]
/external/v8/src/interpreter/
Dbytecode-array-builder.h147 LanguageMode language_mode);
153 LanguageMode language_mode);
163 LanguageMode language_mode);
172 LanguageMode language_mode);
203 const AstRawString* name, LanguageMode language_mode,
359 BytecodeArrayBuilder& Delete(Register object, LanguageMode language_mode);
Dbytecode-flags.cc80 uint8_t StoreLookupSlotFlags::Encode(LanguageMode language_mode, in Encode()
83 language_mode == LanguageMode::kSloppy); in Encode()
Dbytecode-flags.h82 class LanguageModeBit : public BitField8<LanguageMode, 0, 1> {};
87 static uint8_t Encode(LanguageMode language_mode,
Dbytecode-array-builder.cc784 const AstRawString* name, LanguageMode language_mode, in StoreLookupSlot()
834 LanguageMode language_mode) { in StoreNamedProperty()
845 LanguageMode language_mode) { in StoreNamedProperty()
863 LanguageMode language_mode) { in StoreKeyedProperty()
879 Register object, int feedback_slot, LanguageMode language_mode) { in StoreHomeObjectProperty()
888 LanguageMode::kStrict); in StoreClassFieldsInitializer()
1450 LanguageMode language_mode) { in Delete()
1451 if (language_mode == LanguageMode::kSloppy) { in Delete()
1454 DCHECK_EQ(language_mode, LanguageMode::kStrict); in Delete()
/external/v8/src/builtins/
Dbase.tq60 type LanguageMode generates 'TNode<Smi>' constexpr 'LanguageMode';
162 const kStrict: constexpr LanguageMode generates 'LanguageMode::kStrict';
163 const kSloppy: constexpr LanguageMode generates 'LanguageMode::kSloppy';
188 extern builtin DeleteProperty(Context, Object, Object, LanguageMode);
410 extern macro LanguageModeConstant(constexpr LanguageMode): LanguageMode;
456 macro from_constexpr<A : type>(l: constexpr LanguageMode): A;
457 from_constexpr<LanguageMode>(b: constexpr LanguageMode): LanguageMode {
Dbuiltins-console.cc116 name_string, builtin_id, i::LanguageMode::kSloppy); in InstallContextFunction()
139 name, isolate->sloppy_function_map(), LanguageMode::kSloppy); in BUILTIN()
/external/v8/src/parsing/
Dpreparsed-scope-data.h162 LanguageMode language_mode,
233 LanguageMode* language_mode);
Dpreparsed-scope-data.cc43 class LanguageField : public BitField8<LanguageMode, 0, 1> {};
225 int num_inner_functions, LanguageMode language_mode, in AddSkippableFunction()
514 LanguageMode* language_mode) { in GetDataForSkippableFunction()
528 *language_mode = LanguageMode(LanguageField::decode(language_and_super)); in GetDataForSkippableFunction()
/external/v8/src/runtime/
Druntime-utils.h77 LanguageMode name = static_cast<LanguageMode>(__tmp_##name);
Druntime-classes.cc727 LanguageMode language_mode) { in StoreToSuper()
744 LanguageMode language_mode) { in StoreElementToSuper()
770 LanguageMode::kStrict)); in RUNTIME_FUNCTION()
784 LanguageMode::kSloppy)); in RUNTIME_FUNCTION()
789 Handle<Object> key, Handle<Object> value, LanguageMode language_mode) { in StoreKeyedToSuper()
819 LanguageMode::kStrict)); in RUNTIME_FUNCTION()
833 LanguageMode::kSloppy)); in RUNTIME_FUNCTION()
Druntime-compiler.cc297 LanguageMode language_mode, in CompileGlobalEval()
348 LanguageMode language_mode = static_cast<LanguageMode>(args.smi_at(3)); in RUNTIME_FUNCTION()
/external/v8/src/ast/
Dscopes.h281 void SetLanguageMode(LanguageMode language_mode) { in NON_EXPORTED_BASE()
380 LanguageMode language_mode() const { in NON_EXPORTED_BASE()
381 return is_strict_ ? LanguageMode::kStrict : LanguageMode::kSloppy; in NON_EXPORTED_BASE()
486 void set_language_mode(LanguageMode language_mode) { in NON_EXPORTED_BASE()

1234