Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: src/code-stubs.h

Issue 898983002: Add strong mode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Code review + fixes Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ast-value-factory.h ('k') | src/compiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index 230a83da203ea18a61d2e3960a3c1ac1f921602f..7f74f4d294b14f269f7241030dded3f4693215f8 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -593,9 +593,9 @@ class FastNewClosureStub : public HydrogenCodeStub {
bool is_default_constructor() const { return IsDefaultConstructor(kind()); }
private:
- STATIC_ASSERT(LANGUAGE_END == 2);
- class LanguageModeBits : public BitField<LanguageMode, 0, 1> {};
- class FunctionKindBits : public BitField<FunctionKind, 1, 4> {};
+ STATIC_ASSERT(LANGUAGE_END == 3);
+ class LanguageModeBits : public BitField<LanguageMode, 0, 2> {};
+ class FunctionKindBits : public BitField<FunctionKind, 2, 4> {};
DEFINE_CALL_INTERFACE_DESCRIPTOR(FastNewClosure);
DEFINE_HYDROGEN_CODE_STUB(FastNewClosure, HydrogenCodeStub);
« no previous file with comments | « src/ast-value-factory.h ('k') | src/compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698