Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 07e34be578b2a6533b5c2759b5281901af41043d..1b68739b502c9a05c7ed93509eff4f2f17c9fe19 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -536,7 +536,7 @@ class FastNewClosureStub : public HydrogenCodeStub { |
Major MajorKey() { return FastNewClosure; } |
int NotMissMinorKey() { |
- return StrictModeBits::encode(language_mode_ != CLASSIC_MODE) | |
+ return StrictModeBits::encode(language_mode_ != SLOPPY_MODE) | |
IsGeneratorBits::encode(is_generator_); |
} |
@@ -1527,8 +1527,8 @@ class ArgumentsAccessStub: public PlatformCodeStub { |
public: |
enum Type { |
READ_ELEMENT, |
- NEW_NON_STRICT_FAST, |
- NEW_NON_STRICT_SLOW, |
+ NEW_SLOPPY_FAST, |
+ NEW_SLOPPY_SLOW, |
NEW_STRICT |
}; |
@@ -1543,8 +1543,8 @@ class ArgumentsAccessStub: public PlatformCodeStub { |
void Generate(MacroAssembler* masm); |
void GenerateReadElement(MacroAssembler* masm); |
void GenerateNewStrict(MacroAssembler* masm); |
- void GenerateNewNonStrictFast(MacroAssembler* masm); |
- void GenerateNewNonStrictSlow(MacroAssembler* masm); |
+ void GenerateNewSloppyFast(MacroAssembler* masm); |
+ void GenerateNewSloppySlow(MacroAssembler* masm); |
virtual void PrintName(StringStream* stream); |
}; |