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

Unified Diff: src/code-stubs.h

Issue 898983002: Add strong mode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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') | src/globals.h » ('J')
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 7843476958a619b32566bc5e7e767efbd7a78a3a..782147d2d735d9f704bb9fd6360ca41757e18652 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -592,9 +592,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') | src/globals.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698