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

Side by Side Diff: src/contexts.h

Issue 2607993003: FFI Compiler based on code stub assembler (Closed)
Patch Set: Move FFIAssembler from .h to .cc Created 3 years, 11 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
« no previous file with comments | « src/compiler/code-assembler.cc ('k') | src/factory.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CONTEXTS_H_ 5 #ifndef V8_CONTEXTS_H_
6 #define V8_CONTEXTS_H_ 6 #define V8_CONTEXTS_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 V(ASYNC_FUNCTION_MAP_INDEX, Map, async_function_map) \ 323 V(ASYNC_FUNCTION_MAP_INDEX, Map, async_function_map) \
324 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \ 324 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \
325 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ 325 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \
326 strict_function_without_prototype_map) \ 326 strict_function_without_prototype_map) \
327 V(GENERATOR_FUNCTION_MAP_INDEX, Map, generator_function_map) \ 327 V(GENERATOR_FUNCTION_MAP_INDEX, Map, generator_function_map) \
328 V(CLASS_FUNCTION_MAP_INDEX, Map, class_function_map) \ 328 V(CLASS_FUNCTION_MAP_INDEX, Map, class_function_map) \
329 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \ 329 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \
330 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \ 330 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \
331 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \ 331 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \
332 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \ 332 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \
333 V(NATIVE_FUNCTION_MAP_INDEX, Map, native_function_map) \
333 V(WASM_FUNCTION_MAP_INDEX, Map, wasm_function_map) \ 334 V(WASM_FUNCTION_MAP_INDEX, Map, wasm_function_map) \
334 V(WASM_INSTANCE_CONSTRUCTOR_INDEX, JSFunction, wasm_instance_constructor) \ 335 V(WASM_INSTANCE_CONSTRUCTOR_INDEX, JSFunction, wasm_instance_constructor) \
335 V(WASM_INSTANCE_SYM_INDEX, Symbol, wasm_instance_sym) \ 336 V(WASM_INSTANCE_SYM_INDEX, Symbol, wasm_instance_sym) \
336 V(WASM_MEMORY_CONSTRUCTOR_INDEX, JSFunction, wasm_memory_constructor) \ 337 V(WASM_MEMORY_CONSTRUCTOR_INDEX, JSFunction, wasm_memory_constructor) \
337 V(WASM_MEMORY_SYM_INDEX, Symbol, wasm_memory_sym) \ 338 V(WASM_MEMORY_SYM_INDEX, Symbol, wasm_memory_sym) \
338 V(WASM_MODULE_CONSTRUCTOR_INDEX, JSFunction, wasm_module_constructor) \ 339 V(WASM_MODULE_CONSTRUCTOR_INDEX, JSFunction, wasm_module_constructor) \
339 V(WASM_MODULE_SYM_INDEX, Symbol, wasm_module_sym) \ 340 V(WASM_MODULE_SYM_INDEX, Symbol, wasm_module_sym) \
340 V(WASM_TABLE_CONSTRUCTOR_INDEX, JSFunction, wasm_table_constructor) \ 341 V(WASM_TABLE_CONSTRUCTOR_INDEX, JSFunction, wasm_table_constructor) \
341 V(WASM_TABLE_SYM_INDEX, Symbol, wasm_table_sym) \ 342 V(WASM_TABLE_SYM_INDEX, Symbol, wasm_table_sym) \
342 V(TYPED_ARRAY_FUN_INDEX, JSFunction, typed_array_function) \ 343 V(TYPED_ARRAY_FUN_INDEX, JSFunction, typed_array_function) \
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 691 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
691 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 692 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
692 }; 693 };
693 694
694 typedef Context::Field ContextField; 695 typedef Context::Field ContextField;
695 696
696 } // namespace internal 697 } // namespace internal
697 } // namespace v8 698 } // namespace v8
698 699
699 #endif // V8_CONTEXTS_H_ 700 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698