Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index db9e2ef7b10f95e01cfce86773eed94bd6a6ce32..ac333ebb07f106ce9f0893cc085c50276c599cad 100644 |
| --- a/src/objects-inl.h |
| +++ b/src/objects-inl.h |
| @@ -2971,6 +2971,15 @@ bool SharedFunctionInfo::optimization_disabled() { |
| return BooleanBit::get(compiler_hints(), kOptimizationDisabled); |
| } |
|
Lasse Reichstein
2011/02/01 11:26:24
Two lines of whitespace between function definitio
|
| +bool SharedFunctionInfo::strict_mode() { |
| + return BooleanBit::get(compiler_hints(), kStrictModeFunction); |
| +} |
| + |
| +void SharedFunctionInfo::set_strict_mode(bool value) { |
| + set_compiler_hints(BooleanBit::set(compiler_hints(), |
| + kStrictModeFunction, |
|
Lasse Reichstein
2011/02/01 11:26:24
Indentation.
|
| + value)); |
| +} |
| void SharedFunctionInfo::set_optimization_disabled(bool disable) { |
| set_compiler_hints(BooleanBit::set(compiler_hints(), |