| Index: src/globals.h
|
| diff --git a/src/globals.h b/src/globals.h
|
| index 619bdc815101f2df18b2c8393e069215b297c442..605c880790f6ade664e0cc19ec07b0fa8a44eb65 100644
|
| --- a/src/globals.h
|
| +++ b/src/globals.h
|
| @@ -356,9 +356,9 @@ F FUNCTION_CAST(Address addr) {
|
| DISALLOW_COPY_AND_ASSIGN(TypeName)
|
|
|
|
|
| -// Newly written code should use V8_INLINE() and V8_NOINLINE() directly.
|
| -#define INLINE(declarator) V8_INLINE(declarator)
|
| -#define NO_INLINE(declarator) V8_NOINLINE(declarator)
|
| +// Newly written code should use V8_INLINE and V8_NOINLINE directly.
|
| +#define INLINE(declarator) V8_INLINE declarator
|
| +#define NO_INLINE(declarator) V8_NOINLINE declarator
|
|
|
|
|
| // Newly written code should use V8_WARN_UNUSED_RESULT.
|
| @@ -407,18 +407,6 @@ enum LanguageMode {
|
| };
|
|
|
|
|
| -// A simple Maybe type, that can be passed by value.
|
| -template<class T>
|
| -struct Maybe {
|
| - Maybe() : has_value(false) {}
|
| - explicit Maybe(T t) : has_value(true), value(t) {}
|
| - Maybe(bool has, T t) : has_value(has), value(t) {}
|
| -
|
| - bool has_value;
|
| - T value;
|
| -};
|
| -
|
| -
|
| // The Strict Mode (ECMA-262 5th edition, 4.2.2).
|
| //
|
| // This flag is used in the backend to represent the language mode. So far
|
|
|