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

Side by Side Diff: src/objects.h

Issue 11498006: Revert 13157, 13145 and 13140: Crankshaft code stubs. (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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
4842 } 4841 }
4843 4842
4844 inline bool has_fast_smi_or_object_elements() { 4843 inline bool has_fast_smi_or_object_elements() {
4845 return IsFastSmiOrObjectElementsKind(elements_kind()); 4844 return IsFastSmiOrObjectElementsKind(elements_kind());
4846 } 4845 }
4847 4846
4848 inline bool has_fast_double_elements() { 4847 inline bool has_fast_double_elements() {
4849 return IsFastDoubleElementsKind(elements_kind()); 4848 return IsFastDoubleElementsKind(elements_kind());
4850 } 4849 }
4851 4850
4852 inline bool has_fast_elements() {
4853 return IsFastElementsKind(elements_kind());
4854 }
4855
4856 inline bool has_non_strict_arguments_elements() { 4851 inline bool has_non_strict_arguments_elements() {
4857 return elements_kind() == NON_STRICT_ARGUMENTS_ELEMENTS; 4852 return elements_kind() == NON_STRICT_ARGUMENTS_ELEMENTS;
4858 } 4853 }
4859 4854
4860 inline bool has_external_array_elements() { 4855 inline bool has_external_array_elements() {
4861 return IsExternalArrayElementsKind(elements_kind()); 4856 return IsExternalArrayElementsKind(elements_kind());
4862 } 4857 }
4863 4858
4864 inline bool has_dictionary_elements() { 4859 inline bool has_dictionary_elements() {
4865 return IsDictionaryElementsKind(elements_kind()); 4860 return IsDictionaryElementsKind(elements_kind());
(...skipping 4223 matching lines...) Expand 10 before | Expand all | Expand 10 after
9089 } else { 9084 } else {
9090 value &= ~(1 << bit_position); 9085 value &= ~(1 << bit_position);
9091 } 9086 }
9092 return value; 9087 return value;
9093 } 9088 }
9094 }; 9089 };
9095 9090
9096 } } // namespace v8::internal 9091 } } // namespace v8::internal
9097 9092
9098 #endif // V8_OBJECTS_H_ 9093 #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