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

Side by Side Diff: src/contexts.h

Issue 17153011: DataView implementation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixes Created 7 years, 6 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/bootstrapper.cc ('k') | src/factory.h » ('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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 V(ARRAY_BUFFER_FUN_INDEX, JSFunction, array_buffer_fun) \ 127 V(ARRAY_BUFFER_FUN_INDEX, JSFunction, array_buffer_fun) \
128 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ 128 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \
129 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ 129 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \
130 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ 130 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \
131 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ 131 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \
132 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ 132 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \
133 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ 133 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \
134 V(FLOAT_ARRAY_FUN_INDEX, JSFunction, float_array_fun) \ 134 V(FLOAT_ARRAY_FUN_INDEX, JSFunction, float_array_fun) \
135 V(DOUBLE_ARRAY_FUN_INDEX, JSFunction, double_array_fun) \ 135 V(DOUBLE_ARRAY_FUN_INDEX, JSFunction, double_array_fun) \
136 V(UINT8C_ARRAY_FUN_INDEX, JSFunction, uint8c_array_fun) \ 136 V(UINT8C_ARRAY_FUN_INDEX, JSFunction, uint8c_array_fun) \
137 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \
137 V(FUNCTION_MAP_INDEX, Map, function_map) \ 138 V(FUNCTION_MAP_INDEX, Map, function_map) \
138 V(STRICT_MODE_FUNCTION_MAP_INDEX, Map, strict_mode_function_map) \ 139 V(STRICT_MODE_FUNCTION_MAP_INDEX, Map, strict_mode_function_map) \
139 V(FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, function_without_prototype_map) \ 140 V(FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, function_without_prototype_map) \
140 V(STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ 141 V(STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \
141 strict_mode_function_without_prototype_map) \ 142 strict_mode_function_without_prototype_map) \
142 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ 143 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\
143 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ 144 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \
144 V(ALIASED_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \ 145 V(ALIASED_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \
145 aliased_arguments_boilerplate) \ 146 aliased_arguments_boilerplate) \
146 V(STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \ 147 V(STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 ARRAY_BUFFER_FUN_INDEX, 293 ARRAY_BUFFER_FUN_INDEX,
293 UINT8_ARRAY_FUN_INDEX, 294 UINT8_ARRAY_FUN_INDEX,
294 INT8_ARRAY_FUN_INDEX, 295 INT8_ARRAY_FUN_INDEX,
295 UINT16_ARRAY_FUN_INDEX, 296 UINT16_ARRAY_FUN_INDEX,
296 INT16_ARRAY_FUN_INDEX, 297 INT16_ARRAY_FUN_INDEX,
297 UINT32_ARRAY_FUN_INDEX, 298 UINT32_ARRAY_FUN_INDEX,
298 INT32_ARRAY_FUN_INDEX, 299 INT32_ARRAY_FUN_INDEX,
299 FLOAT_ARRAY_FUN_INDEX, 300 FLOAT_ARRAY_FUN_INDEX,
300 DOUBLE_ARRAY_FUN_INDEX, 301 DOUBLE_ARRAY_FUN_INDEX,
301 UINT8C_ARRAY_FUN_INDEX, 302 UINT8C_ARRAY_FUN_INDEX,
303 DATA_VIEW_FUN_INDEX,
302 MESSAGE_LISTENERS_INDEX, 304 MESSAGE_LISTENERS_INDEX,
303 MAKE_MESSAGE_FUN_INDEX, 305 MAKE_MESSAGE_FUN_INDEX,
304 GET_STACK_TRACE_LINE_INDEX, 306 GET_STACK_TRACE_LINE_INDEX,
305 CONFIGURE_GLOBAL_INDEX, 307 CONFIGURE_GLOBAL_INDEX,
306 FUNCTION_CACHE_INDEX, 308 FUNCTION_CACHE_INDEX,
307 JSFUNCTION_RESULT_CACHES_INDEX, 309 JSFUNCTION_RESULT_CACHES_INDEX,
308 NORMALIZED_MAP_CACHE_INDEX, 310 NORMALIZED_MAP_CACHE_INDEX,
309 RUNTIME_CONTEXT_INDEX, 311 RUNTIME_CONTEXT_INDEX,
310 CALL_AS_FUNCTION_DELEGATE_INDEX, 312 CALL_AS_FUNCTION_DELEGATE_INDEX,
311 CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, 313 CALL_AS_CONSTRUCTOR_DELEGATE_INDEX,
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 static bool IsBootstrappingOrGlobalObject(Object* object); 511 static bool IsBootstrappingOrGlobalObject(Object* object);
510 #endif 512 #endif
511 513
512 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); 514 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize);
513 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 515 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
514 }; 516 };
515 517
516 } } // namespace v8::internal 518 } } // namespace v8::internal
517 519
518 #endif // V8_CONTEXTS_H_ 520 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698