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

Unified Diff: runtime/vm/object.h

Issue 260713008: Add support for javascript incompatibility warnings. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 36000)
+++ runtime/vm/object.h (working copy)
@@ -3308,6 +3308,10 @@
bool IssuedJSWarning() const;
void SetIssuedJSWarning() const;
+ // Return true if the target function of this IC data may check for (and
+ // possibly issue) a Javascript compatibility warning.
+ bool MayCheckForJSWarning() const;
+
bool IsClosureCall() const;
void SetIsClosureCall() const;
@@ -4015,6 +4019,7 @@
kError,
kMalformedType,
kMalboundedType,
+ kBailout,
};
Kind kind() const { return static_cast<Kind>(raw_ptr()->kind_); }
@@ -4043,6 +4048,7 @@
const char* format, va_list args);
static RawLanguageError* New(const String& formatted_message,
+ Kind kind = kError,
Heap::Space space = Heap::kNew);
virtual const char* ToErrorCString() const;
@@ -6870,7 +6876,7 @@
ASSERT(t >= UserTags::kUserTagIdOffset);
ASSERT(t < UserTags::kUserTagIdOffset + UserTags::kMaxUserTags);
raw_ptr()->tag_ = t;
- };
+ }
static intptr_t tag_offset() { return OFFSET_OF(RawUserTag, tag_); }
RawString* label() const {
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/object.cc » ('j') | runtime/vm/symbols.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698