Reviewers: Yang,

Description:
Remove is_in_loop() from CompilationInfo.

[email protected]
BUG=

Please review this at https://codereview.chromium.org/225783004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+0, -7 lines):
  M src/compiler.h


Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index 3802016883027ecbaf528f87bbe12fc7ce8ad427..9bf24bec236936f3e4f899349c0b2fb4e929fa09 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -73,7 +73,6 @@ class CompilationInfo {
   bool is_eval() const { return IsEval::decode(flags_); }
   bool is_global() const { return IsGlobal::decode(flags_); }
StrictMode strict_mode() const { return StrictModeField::decode(flags_); }
-  bool is_in_loop() const { return IsInLoop::decode(flags_); }
   FunctionLiteral* function() const { return function_; }
   Scope* scope() const { return scope_; }
   Scope* global_scope() const { return global_scope_; }
@@ -118,10 +117,6 @@ class CompilationInfo {
ASSERT(this->strict_mode() == SLOPPY || this->strict_mode() == strict_mode);
     flags_ = StrictModeField::update(flags_, strict_mode);
   }
-  void MarkAsInLoop() {
-    ASSERT(is_lazy());
-    flags_ |= IsInLoop::encode(true);
-  }
   void MarkAsNative() {
     flags_ |= IsNative::encode(true);
   }
@@ -366,8 +361,6 @@ class CompilationInfo {
   // Flags that can be set for eager compilation.
   class IsEval:   public BitField<bool, 1, 1> {};
   class IsGlobal: public BitField<bool, 2, 1> {};
-  // Flags that can be set for lazy compilation.
-  class IsInLoop: public BitField<bool, 3, 1> {};
   // Strict mode - used in eager compilation.
   class StrictModeField: public BitField<StrictMode, 4, 1> {};
   // Is this a function from our natives.


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to