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

Unified Diff: src/code-stubs.cc

Issue 1416953006: [types] Use unified integral representation bits. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 | src/compiler/typer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index d01d38727c6a803445ad46f959c8d883b8d0b492..3901f7fbefbcb53a26f1ce3b392fdc8eaa904a1a 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -1061,7 +1061,7 @@ InternalArrayConstructorStub::InternalArrayConstructorStub(
Representation RepresentationFromType(Type* type) {
- if (type->Is(Type::UntaggedSigned()) || type->Is(Type::UntaggedUnsigned())) {
+ if (type->Is(Type::UntaggedIntegral())) {
return Representation::Integer32();
}
@@ -1076,5 +1076,6 @@ Representation RepresentationFromType(Type* type) {
DCHECK(!type->Is(Type::Untagged()));
return Representation::Tagged();
}
+
} // namespace internal
} // namespace v8
« no previous file with comments | « no previous file | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698