Searched refs:strict_mode (Results 1 - 25 of 92) sorted by relevance

1234

/external/chromium_org/v8/src/
H A Dpreparse-data.h30 StrictMode strict_mode) = 0;
57 StrictMode strict_mode) {
63 strict_mode_ = strict_mode;
95 StrictMode strict_mode() const { function in class:v8::internal::SingletonLogger
138 StrictMode strict_mode) {
143 function_store_.Add(strict_mode);
53 LogFunction(int start, int end, int literals, int properties, StrictMode strict_mode) argument
134 LogFunction(int start, int end, int literals, int properties, StrictMode strict_mode) argument
H A Dpreparser.cc122 StrictMode strict_mode, bool is_generator, ParserRecorder* log) {
128 scope_->SetStrictMode(strict_mode);
142 if (scope_->strict_mode() == STRICT) {
193 if (strict_mode() == STRICT) {
305 if (strict_mode() == STRICT) {
328 if (strict_mode() == STRICT) {
380 if (allow_harmony_scoping() && strict_mode() == STRICT) {
444 if (strict_mode() == STRICT) {
459 } else if (peek() == Token::LET && strict_mode() == STRICT) {
507 DCHECK(strict_mode()
121 PreParseLazyFunction( StrictMode strict_mode, bool is_generator, ParserRecorder* log) argument
[all...]
H A Dcompilation-cache.h118 StrictMode strict_mode,
163 Handle<Context> context, StrictMode strict_mode, int scope_position);
H A Dcompilation-cache.cc225 StrictMode strict_mode, int scope_position) {
234 result = table->LookupEval(source, outer_info, strict_mode, scope_position);
326 Handle<Context> context, StrictMode strict_mode, int scope_position) {
332 eval_global_.Lookup(source, outer_info, strict_mode, scope_position);
335 result = eval_contextual_.Lookup(source, outer_info, strict_mode,
223 Lookup( Handle<String> source, Handle<SharedFunctionInfo> outer_info, StrictMode strict_mode, int scope_position) argument
324 LookupEval( Handle<String> source, Handle<SharedFunctionInfo> outer_info, Handle<Context> context, StrictMode strict_mode, int scope_position) argument
H A Dscopes.h215 void SetStrictMode(StrictMode strict_mode) { strict_mode_ = strict_mode; } argument
302 StrictMode strict_mode() const { return strict_mode_; } function in class:v8::internal::Scope
H A Dparser.cc880 if (!(*scope)->is_global_scope() || info->strict_mode() == STRICT) {
901 scope_->SetStrictMode(info->strict_mode());
908 if (ok && strict_mode() == STRICT) {
912 if (ok && allow_harmony_scoping() && strict_mode() == STRICT) {
1014 DCHECK(scope->strict_mode() == SLOPPY || info()->strict_mode() == STRICT);
1015 DCHECK(info()->strict_mode() == shared_info->strict_mode());
1016 scope->SetStrictMode(shared_info->strict_mode());
1092 if (strict_mode()
2312 StrictMode strict_mode = initialization_scope->strict_mode(); local
[all...]
H A Dpreparser.h440 StrictMode strict_mode() { return scope_->strict_mode(); } function in class:v8::internal::ParserBase
541 ObjectLiteralChecker(ParserBase* parser, StrictMode strict_mode) argument
544 strict_mode_(strict_mode) {}
944 strict_mode_ = outer_scope ? outer_scope->strict_mode() : SLOPPY;
948 StrictMode strict_mode() const { return strict_mode_; } function in class:v8::internal::PreParserScope
949 void SetStrictMode(StrictMode strict_mode) { strict_mode_ = strict_mode; } argument
1437 } else if (scope_->strict_mode() == STRICT) {
1451 PreParseResult PreParseLazyFunction(StrictMode strict_mode,
[all...]
H A Dcompiler.h102 StrictMode strict_mode() const { function in class:v8::internal::CompilationInfo
154 void SetStrictMode(StrictMode strict_mode) { argument
155 SetFlag(kStrictMode, strict_mode == STRICT);
686 Handle<Context> context, StrictMode strict_mode,
H A Dcontexts.h556 static int FunctionMapIndex(StrictMode strict_mode, FunctionKind kind) { argument
558 return strict_mode == SLOPPY ? SLOPPY_GENERATOR_FUNCTION_MAP_INDEX
563 return strict_mode == SLOPPY
568 return strict_mode == SLOPPY ? SLOPPY_FUNCTION_MAP_INDEX
H A Dcompiler.cc174 DCHECK(strict_mode() == SLOPPY);
175 SetStrictMode(shared_info_->strict_mode());
593 function_info->set_strict_mode(lit->strict_mode());
664 shared->set_strict_mode(lit->strict_mode());
1088 Handle<Context> context, StrictMode strict_mode,
1097 compilation_cache->LookupEval(source, outer_info, context, strict_mode,
1106 info.SetStrictMode(strict_mode);
1122 DCHECK(strict_mode == SLOPPY || shared_info->strict_mode() == STRICT);
1253 info.SetStrictMode(literal->scope()->strict_mode());
1086 GetFunctionFromEval( Handle<String> source, Handle<SharedFunctionInfo> outer_info, Handle<Context> context, StrictMode strict_mode, ParseRestriction restriction, int scope_position) argument
[all...]
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2273.js58 function strict_mode() { function
80 strict_mode();
/external/chromium_org/v8/src/compiler/
H A Djs-operator.h57 StrictMode strict_mode; member in struct:v8::internal::compiler::StoreNamedParameters
134 const Operator* StoreProperty(StrictMode strict_mode) { argument
135 OP1(JSStoreProperty, StrictMode, strict_mode, Operator::kNoProperties, 3,
139 const Operator* StoreNamed(StrictMode strict_mode, Unique<Name> name) { argument
140 StoreNamedParameters parameters = {strict_mode, name};
145 const Operator* DeleteProperty(StrictMode strict_mode) { argument
146 OP1(JSDeleteProperty, StrictMode, strict_mode, Operator::kNoProperties, 2,
H A Djs-generic-lowering.cc292 StrictMode strict_mode = OpParameter<StrictMode>(node); local
293 Callable callable = CodeFactory::KeyedStoreIC(isolate(), strict_mode);
300 Callable callable = CodeFactory::StoreIC(isolate(), params.strict_mode);
307 StrictMode strict_mode = OpParameter<StrictMode>(node); local
308 PatchInsertInput(node, 2, SmiConstant(strict_mode));
H A Dast-graph-builder.cc911 Node* store = NewNode(javascript()->StoreNamed(strict_mode(), name),
1006 Node* store = NewNode(javascript()->StoreProperty(strict_mode()), literal,
1039 NewNode(javascript()->StoreNamed(strict_mode(), name), object, value);
1051 Node* store = NewNode(javascript()->StoreProperty(strict_mode()), object,
1134 NewNode(javascript()->StoreNamed(strict_mode(), name), object, value);
1141 Node* store = NewNode(javascript()->StoreProperty(strict_mode()), object,
1270 Node* strict = jsgraph()->Constant(strict_mode());
1444 NewNode(javascript()->StoreNamed(strict_mode(), name), object, value);
1453 Node* store = NewNode(javascript()->StoreProperty(strict_mode()), object,
1559 DeclareGlobalsStrictMode::encode(strict_mode());
[all...]
/external/chromium_org/v8/src/ic/
H A Dic-compiler.h43 Handle<Map> receiver_map, StrictMode strict_mode,
48 StrictMode strict_mode);
58 StrictMode strict_mode);
H A Dic-compiler.cc121 Handle<Map> receiver_map, StrictMode strict_mode,
125 KeyedStoreIC::ComputeExtraICState(strict_mode, store_mode);
285 StrictMode strict_mode) {
294 KeyedStoreIC::ComputeExtraICState(strict_mode, store_mode);
344 StrictMode strict_mode = StoreIC::GetStrictMode(extra_state); local
345 GenerateRuntimeSetProperty(masm(), strict_mode); local
120 ComputeKeyedStoreMonomorphic( Handle<Map> receiver_map, StrictMode strict_mode, KeyedAccessStoreMode store_mode) argument
283 ComputeKeyedStorePolymorphic( MapHandleList* receiver_maps, KeyedAccessStoreMode store_mode, StrictMode strict_mode) argument
H A Dic.h465 StrictMode strict_mode() const { function in class:v8::internal::StoreIC
479 StrictMode strict_mode);
481 static Handle<Code> initialize_stub(Isolate* isolate, StrictMode strict_mode);
500 return pre_monomorphic_stub(isolate(), strict_mode());
504 StrictMode strict_mode);
563 static void GenerateGeneric(MacroAssembler* masm, StrictMode strict_mode);
568 return pre_monomorphic_stub(isolate(), strict_mode());
571 StrictMode strict_mode) {
572 if (strict_mode == STRICT) {
570 pre_monomorphic_stub(Isolate* isolate, StrictMode strict_mode) argument
H A Dic.cc1026 function->shared()->strict_mode() == SLOPPY) {
1289 Object::SetProperty(object, name, value, strict_mode()), Object);
1310 JSObject::SetElement(receiver, index, value, NONE, strict_mode()),
1321 Object::SetProperty(object, name, value, strict_mode(), store_mode),
1333 Object::SetProperty(&it, value, strict_mode(), store_mode), Object);
1347 StrictMode strict_mode) {
1348 ExtraICState extra_state = ComputeExtraICState(strict_mode);
1361 if (strict_mode() == STRICT) {
1376 if (strict_mode() == STRICT) {
1396 StrictMode strict_mode) {
1346 initialize_stub(Isolate* isolate, StrictMode strict_mode) argument
1395 pre_monomorphic_stub(Isolate* isolate, StrictMode strict_mode) argument
2171 StrictMode strict_mode = ic.strict_mode(); local
2187 StrictMode strict_mode = ic.strict_mode(); local
2205 StrictMode strict_mode = ic.strict_mode(); local
[all...]
/external/chromium_org/v8/src/ic/arm/
H A Dic-compiler-arm.cc19 StrictMode strict_mode) {
23 __ mov(r0, Operand(Smi::FromInt(strict_mode)));
18 GenerateRuntimeSetProperty(MacroAssembler* masm, StrictMode strict_mode) argument
/external/chromium_org/v8/src/ic/arm64/
H A Dic-compiler-arm64.cc18 StrictMode strict_mode) {
24 __ Mov(x10, Smi::FromInt(strict_mode));
17 GenerateRuntimeSetProperty(MacroAssembler* masm, StrictMode strict_mode) argument
/external/chromium_org/v8/src/ic/ia32/
H A Dic-compiler-ia32.cc19 StrictMode strict_mode) {
28 __ push(Immediate(Smi::FromInt(strict_mode)));
18 GenerateRuntimeSetProperty(MacroAssembler* masm, StrictMode strict_mode) argument
/external/chromium_org/v8/src/ic/mips/
H A Dic-compiler-mips.cc115 StrictMode strict_mode) {
119 __ li(a0, Operand(Smi::FromInt(strict_mode)));
114 GenerateRuntimeSetProperty(MacroAssembler* masm, StrictMode strict_mode) argument
/external/chromium_org/v8/src/ic/mips64/
H A Dic-compiler-mips64.cc115 StrictMode strict_mode) {
119 __ li(a0, Operand(Smi::FromInt(strict_mode)));
114 GenerateRuntimeSetProperty(MacroAssembler* masm, StrictMode strict_mode) argument
/external/chromium_org/v8/src/ic/x64/
H A Dic-compiler-x64.cc19 StrictMode strict_mode) {
29 __ Push(Smi::FromInt(strict_mode));
18 GenerateRuntimeSetProperty(MacroAssembler* masm, StrictMode strict_mode) argument
/external/chromium_org/v8/src/ic/x87/
H A Dic-compiler-x87.cc19 StrictMode strict_mode) {
28 __ push(Immediate(Smi::FromInt(strict_mode)));
18 GenerateRuntimeSetProperty(MacroAssembler* masm, StrictMode strict_mode) argument

Completed in 918 milliseconds

1234