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

Side by Side Diff: src/heap.h

Issue 9310117: Implement KeyedStoreICs to grow arrays on out-of-bound stores. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add missing WB stub Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/code-stubs.cc ('k') | src/heap.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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 V(Map, global_context_map, GlobalContextMap) \ 67 V(Map, global_context_map, GlobalContextMap) \
68 V(Map, fixed_array_map, FixedArrayMap) \ 68 V(Map, fixed_array_map, FixedArrayMap) \
69 V(Map, code_map, CodeMap) \ 69 V(Map, code_map, CodeMap) \
70 V(Map, scope_info_map, ScopeInfoMap) \ 70 V(Map, scope_info_map, ScopeInfoMap) \
71 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \ 71 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \
72 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ 72 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \
73 V(Object, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ 73 V(Object, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \
74 V(Map, hash_table_map, HashTableMap) \ 74 V(Map, hash_table_map, HashTableMap) \
75 V(FixedArray, empty_fixed_array, EmptyFixedArray) \ 75 V(FixedArray, empty_fixed_array, EmptyFixedArray) \
76 V(ByteArray, empty_byte_array, EmptyByteArray) \ 76 V(ByteArray, empty_byte_array, EmptyByteArray) \
77 V(FixedDoubleArray, empty_fixed_double_array, EmptyFixedDoubleArray) \
78 V(String, empty_string, EmptyString) \ 77 V(String, empty_string, EmptyString) \
79 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ 78 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \
80 V(Smi, stack_limit, StackLimit) \ 79 V(Smi, stack_limit, StackLimit) \
81 V(Oddball, frame_alignment_marker, FrameAlignmentMarker) \ 80 V(Oddball, frame_alignment_marker, FrameAlignmentMarker) \
82 V(Oddball, arguments_marker, ArgumentsMarker) \ 81 V(Oddball, arguments_marker, ArgumentsMarker) \
83 /* The first 32 roots above this line should be boring from a GC point of */ \ 82 /* The first 32 roots above this line should be boring from a GC point of */ \
84 /* view. This means they are never in new space and never on a page that */ \ 83 /* view. This means they are never in new space and never on a page that */ \
85 /* is being compacted. */ \ 84 /* is being compacted. */ \
86 V(FixedArray, number_string_cache, NumberStringCache) \ 85 V(FixedArray, number_string_cache, NumberStringCache) \
87 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ 86 V(Object, instanceof_cache_function, InstanceofCacheFunction) \
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 V(Date_symbol, "Date") \ 197 V(Date_symbol, "Date") \
199 V(this_symbol, "this") \ 198 V(this_symbol, "this") \
200 V(to_string_symbol, "toString") \ 199 V(to_string_symbol, "toString") \
201 V(char_at_symbol, "CharAt") \ 200 V(char_at_symbol, "CharAt") \
202 V(undefined_symbol, "undefined") \ 201 V(undefined_symbol, "undefined") \
203 V(value_of_symbol, "valueOf") \ 202 V(value_of_symbol, "valueOf") \
204 V(InitializeVarGlobal_symbol, "InitializeVarGlobal") \ 203 V(InitializeVarGlobal_symbol, "InitializeVarGlobal") \
205 V(InitializeConstGlobal_symbol, "InitializeConstGlobal") \ 204 V(InitializeConstGlobal_symbol, "InitializeConstGlobal") \
206 V(KeyedLoadElementMonomorphic_symbol, \ 205 V(KeyedLoadElementMonomorphic_symbol, \
207 "KeyedLoadElementMonomorphic") \ 206 "KeyedLoadElementMonomorphic") \
208 V(KeyedLoadElementPolymorphic_symbol, \
209 "KeyedLoadElementPolymorphic") \
210 V(KeyedStoreElementMonomorphic_symbol, \ 207 V(KeyedStoreElementMonomorphic_symbol, \
211 "KeyedStoreElementMonomorphic") \ 208 "KeyedStoreElementMonomorphic") \
212 V(KeyedStoreElementPolymorphic_symbol, \ 209 V(KeyedStoreAndGrowElementMonomorphic_symbol, \
213 "KeyedStoreElementPolymorphic") \ 210 "KeyedStoreAndGrowElementMonomorphic") \
214 V(stack_overflow_symbol, "kStackOverflowBoilerplate") \ 211 V(stack_overflow_symbol, "kStackOverflowBoilerplate") \
215 V(illegal_access_symbol, "illegal access") \ 212 V(illegal_access_symbol, "illegal access") \
216 V(out_of_memory_symbol, "out-of-memory") \ 213 V(out_of_memory_symbol, "out-of-memory") \
217 V(illegal_execution_state_symbol, "illegal execution state") \ 214 V(illegal_execution_state_symbol, "illegal execution state") \
218 V(get_symbol, "get") \ 215 V(get_symbol, "get") \
219 V(set_symbol, "set") \ 216 V(set_symbol, "set") \
220 V(function_class_symbol, "Function") \ 217 V(function_class_symbol, "Function") \
221 V(illegal_argument_symbol, "illegal argument") \ 218 V(illegal_argument_symbol, "illegal argument") \
222 V(MakeReferenceError_symbol, "MakeReferenceError") \ 219 V(MakeReferenceError_symbol, "MakeReferenceError") \
223 V(MakeSyntaxError_symbol, "MakeSyntaxError") \ 220 V(MakeSyntaxError_symbol, "MakeSyntaxError") \
(...skipping 2425 matching lines...) Expand 10 before | Expand all | Expand 10 after
2649 AssertNoAllocation no_alloc; // i.e. no gc allowed. 2646 AssertNoAllocation no_alloc; // i.e. no gc allowed.
2650 2647
2651 private: 2648 private:
2652 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2649 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2653 }; 2650 };
2654 #endif // DEBUG || LIVE_OBJECT_LIST 2651 #endif // DEBUG || LIVE_OBJECT_LIST
2655 2652
2656 } } // namespace v8::internal 2653 } } // namespace v8::internal
2657 2654
2658 #endif // V8_HEAP_H_ 2655 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698