Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 789983afcd8ca847b7784b31a21a7c27ba3f2bf3..52b594285359fb3a452f1ca18d9124e83e3fc17b 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -958,9 +958,8 @@ class LoadFieldStub: public HandlerStub { |
class StoreGlobalStub : public HandlerStub { |
public: |
- StoreGlobalStub(StrictModeFlag strict_mode, bool is_constant) { |
- bit_field_ = StrictModeBits::encode(strict_mode) | |
- IsConstantBits::encode(is_constant); |
+ explicit StoreGlobalStub(bool is_constant) { |
+ bit_field_ = IsConstantBits::encode(is_constant); |
} |
Handle<Code> GetCodeCopyFromTemplate(Isolate* isolate, |
@@ -1003,9 +1002,8 @@ class StoreGlobalStub : public HandlerStub { |
virtual int NotMissMinorKey() { return GetExtraICState(); } |
Major MajorKey() { return StoreGlobal; } |
- class StrictModeBits: public BitField<StrictModeFlag, 0, 1> {}; |
- class IsConstantBits: public BitField<bool, 1, 1> {}; |
- class RepresentationBits: public BitField<Representation::Kind, 2, 8> {}; |
+ class IsConstantBits: public BitField<bool, 0, 1> {}; |
+ class RepresentationBits: public BitField<Representation::Kind, 1, 8> {}; |
int bit_field_; |