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

Unified Diff: src/types-inl.h

Issue 226883003: Shut up Windows and ASAN (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | test/cctest/test-types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/types-inl.h
diff --git a/src/types-inl.h b/src/types-inl.h
index d6c69c44009f64ddf8ce29d98b11d79f37d241f4..2c805032902d0d2bc79862dd8822e3a46a6263fc 100644
--- a/src/types-inl.h
+++ b/src/types-inl.h
@@ -130,15 +130,13 @@ void ZoneTypeConfig::struct_shrink(Struct* structured, int length) {
// static
int ZoneTypeConfig::struct_tag(Struct* structured) {
- int tag = reinterpret_cast<intptr_t>(structured[0]);
- return tag;
+ return static_cast<int>(reinterpret_cast<intptr_t>(structured[0]));
}
// static
int ZoneTypeConfig::struct_length(Struct* structured) {
- int length = reinterpret_cast<intptr_t>(structured[1]);
- return length;
+ return static_cast<int>(reinterpret_cast<intptr_t>(structured[1]));
}
« no previous file with comments | « no previous file | test/cctest/test-types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698