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

Side by Side Diff: src/objects.h

Issue 11414262: Revert 13105: "Enable stub generation using Hydrogen/Lithium." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mips/codegen-mips.h ('k') | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 4215 matching lines...) Expand 10 before | Expand all | Expand 10 after
4226 // enumeration type has correct value range (see Issue 830 for more details). 4226 // enumeration type has correct value range (see Issue 830 for more details).
4227 enum Flags { 4227 enum Flags {
4228 FLAGS_MIN_VALUE = kMinInt, 4228 FLAGS_MIN_VALUE = kMinInt,
4229 FLAGS_MAX_VALUE = kMaxInt 4229 FLAGS_MAX_VALUE = kMaxInt
4230 }; 4230 };
4231 4231
4232 #define CODE_KIND_LIST(V) \ 4232 #define CODE_KIND_LIST(V) \
4233 V(FUNCTION) \ 4233 V(FUNCTION) \
4234 V(OPTIMIZED_FUNCTION) \ 4234 V(OPTIMIZED_FUNCTION) \
4235 V(STUB) \ 4235 V(STUB) \
4236 V(COMPILED_STUB) \
4237 V(BUILTIN) \ 4236 V(BUILTIN) \
4238 V(LOAD_IC) \ 4237 V(LOAD_IC) \
4239 V(KEYED_LOAD_IC) \ 4238 V(KEYED_LOAD_IC) \
4240 V(CALL_IC) \ 4239 V(CALL_IC) \
4241 V(KEYED_CALL_IC) \ 4240 V(KEYED_CALL_IC) \
4242 V(STORE_IC) \ 4241 V(STORE_IC) \
4243 V(KEYED_STORE_IC) \ 4242 V(KEYED_STORE_IC) \
4244 V(UNARY_OP_IC) \ 4243 V(UNARY_OP_IC) \
4245 V(BINARY_OP_IC) \ 4244 V(BINARY_OP_IC) \
4246 V(COMPARE_IC) \ 4245 V(COMPARE_IC) \
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
4843 } 4842 }
4844 4843
4845 inline bool has_fast_smi_or_object_elements() { 4844 inline bool has_fast_smi_or_object_elements() {
4846 return IsFastSmiOrObjectElementsKind(elements_kind()); 4845 return IsFastSmiOrObjectElementsKind(elements_kind());
4847 } 4846 }
4848 4847
4849 inline bool has_fast_double_elements() { 4848 inline bool has_fast_double_elements() {
4850 return IsFastDoubleElementsKind(elements_kind()); 4849 return IsFastDoubleElementsKind(elements_kind());
4851 } 4850 }
4852 4851
4853 inline bool has_fast_elements() {
4854 return IsFastElementsKind(elements_kind());
4855 }
4856
4857 inline bool has_non_strict_arguments_elements() { 4852 inline bool has_non_strict_arguments_elements() {
4858 return elements_kind() == NON_STRICT_ARGUMENTS_ELEMENTS; 4853 return elements_kind() == NON_STRICT_ARGUMENTS_ELEMENTS;
4859 } 4854 }
4860 4855
4861 inline bool has_external_array_elements() { 4856 inline bool has_external_array_elements() {
4862 return IsExternalArrayElementsKind(elements_kind()); 4857 return IsExternalArrayElementsKind(elements_kind());
4863 } 4858 }
4864 4859
4865 inline bool has_dictionary_elements() { 4860 inline bool has_dictionary_elements() {
4866 return IsDictionaryElementsKind(elements_kind()); 4861 return IsDictionaryElementsKind(elements_kind());
(...skipping 4146 matching lines...) Expand 10 before | Expand all | Expand 10 after
9013 } else { 9008 } else {
9014 value &= ~(1 << bit_position); 9009 value &= ~(1 << bit_position);
9015 } 9010 }
9016 return value; 9011 return value;
9017 } 9012 }
9018 }; 9013 };
9019 9014
9020 } } // namespace v8::internal 9015 } } // namespace v8::internal
9021 9016
9022 #endif // V8_OBJECTS_H_ 9017 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips/codegen-mips.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698