Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / v8 / src / v8globals.h
index ac05ca9..7d8d1b7 100644 (file)
@@ -279,19 +279,14 @@ enum InlineCacheState {
 };
 
 
-enum CheckType {
-  RECEIVER_MAP_CHECK,
-  STRING_CHECK,
-  SYMBOL_CHECK,
-  NUMBER_CHECK,
-  BOOLEAN_CHECK
-};
-
-
 enum CallFunctionFlags {
   NO_CALL_FUNCTION_FLAGS,
   // The call target is cached in the instruction stream.
-  RECORD_CALL_TARGET
+  RECORD_CALL_TARGET,
+  CALL_AS_METHOD,
+  // Always wrap the receiver and call to the JSFunction. Only use this flag
+  // both the receiver type and the target method are statically known.
+  WRAP_AND_CALL
 };