| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index 020c662dd5973b9669cca1deca32914d6d228508..bc4077a048febb6134da03b2a1e018f2c91ed591 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -243,6 +243,30 @@ void Interpreter::DoLdaGlobalStrict(compiler::InterpreterAssembler* assembler) {
|
| }
|
|
|
|
|
| +// LdaGlobalInsideTypeofSloppy <name_index> <slot>
|
| +//
|
| +// Load the global with name in constant pool entry <name_index> into the
|
| +// accumulator using FeedBackVector slot <slot> in sloppy mode.
|
| +void Interpreter::DoLdaGlobalInsideTypeofSloppy(
|
| + compiler::InterpreterAssembler* assembler) {
|
| + Callable ic = CodeFactory::LoadICInOptimizedCode(isolate_, INSIDE_TYPEOF,
|
| + SLOPPY, UNINITIALIZED);
|
| + DoLoadGlobal(ic, assembler);
|
| +}
|
| +
|
| +
|
| +// LdaGlobalInsideTypeofStrict <name_index> <slot>
|
| +//
|
| +// Load the global with name in constant pool entry <name_index> into the
|
| +// accumulator using FeedBackVector slot <slot> in strict mode.
|
| +void Interpreter::DoLdaGlobalInsideTypeofStrict(
|
| + compiler::InterpreterAssembler* assembler) {
|
| + Callable ic = CodeFactory::LoadICInOptimizedCode(isolate_, INSIDE_TYPEOF,
|
| + STRICT, UNINITIALIZED);
|
| + DoLoadGlobal(ic, assembler);
|
| +}
|
| +
|
| +
|
| // LdaGlobalSloppyWide <name_index> <slot>
|
| //
|
| // Load the global with name in constant pool entry <name_index> into the
|
| @@ -267,6 +291,30 @@ void Interpreter::DoLdaGlobalStrictWide(
|
| }
|
|
|
|
|
| +// LdaGlobalInsideTypeofSloppyWide <name_index> <slot>
|
| +//
|
| +// Load the global with name in constant pool entry <name_index> into the
|
| +// accumulator using FeedBackVector slot <slot> in sloppy mode.
|
| +void Interpreter::DoLdaGlobalInsideTypeofSloppyWide(
|
| + compiler::InterpreterAssembler* assembler) {
|
| + Callable ic = CodeFactory::LoadICInOptimizedCode(isolate_, INSIDE_TYPEOF,
|
| + SLOPPY, UNINITIALIZED);
|
| + DoLoadGlobal(ic, assembler);
|
| +}
|
| +
|
| +
|
| +// LdaGlobalInsideTypeofSloppyWide <name_index> <slot>
|
| +//
|
| +// Load the global with name in constant pool entry <name_index> into the
|
| +// accumulator using FeedBackVector slot <slot> in strict mode.
|
| +void Interpreter::DoLdaGlobalInsideTypeofStrictWide(
|
| + compiler::InterpreterAssembler* assembler) {
|
| + Callable ic = CodeFactory::LoadICInOptimizedCode(isolate_, INSIDE_TYPEOF,
|
| + STRICT, UNINITIALIZED);
|
| + DoLoadGlobal(ic, assembler);
|
| +}
|
| +
|
| +
|
| void Interpreter::DoStoreGlobal(Callable ic,
|
| compiler::InterpreterAssembler* assembler) {
|
| // Get the global object.
|
|
|