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

Side by Side Diff: src/contexts.h

Issue 1311013008: [builtins] Unify the various versions of [[Call]] with a Call builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: AssertFunction was wrong Created 5 years, 3 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/code-stubs.h ('k') | src/ia32/assembler-ia32.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 // 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 V(ADD_STRONG_BUILTIN_INDEX, JSFunction, add_strong_builtin) \ 95 V(ADD_STRONG_BUILTIN_INDEX, JSFunction, add_strong_builtin) \
96 V(APPLY_PREPARE_BUILTIN_INDEX, JSFunction, apply_prepare_builtin) \ 96 V(APPLY_PREPARE_BUILTIN_INDEX, JSFunction, apply_prepare_builtin) \
97 V(BIT_AND_BUILTIN_INDEX, JSFunction, bit_and_builtin) \ 97 V(BIT_AND_BUILTIN_INDEX, JSFunction, bit_and_builtin) \
98 V(BIT_AND_STRONG_BUILTIN_INDEX, JSFunction, bit_and_strong_builtin) \ 98 V(BIT_AND_STRONG_BUILTIN_INDEX, JSFunction, bit_and_strong_builtin) \
99 V(BIT_OR_BUILTIN_INDEX, JSFunction, bit_or_builtin) \ 99 V(BIT_OR_BUILTIN_INDEX, JSFunction, bit_or_builtin) \
100 V(BIT_OR_STRONG_BUILTIN_INDEX, JSFunction, bit_or_strong_builtin) \ 100 V(BIT_OR_STRONG_BUILTIN_INDEX, JSFunction, bit_or_strong_builtin) \
101 V(BIT_XOR_BUILTIN_INDEX, JSFunction, bit_xor_builtin) \ 101 V(BIT_XOR_BUILTIN_INDEX, JSFunction, bit_xor_builtin) \
102 V(BIT_XOR_STRONG_BUILTIN_INDEX, JSFunction, bit_xor_strong_builtin) \ 102 V(BIT_XOR_STRONG_BUILTIN_INDEX, JSFunction, bit_xor_strong_builtin) \
103 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR_BUILTIN_INDEX, JSFunction, \ 103 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR_BUILTIN_INDEX, JSFunction, \
104 call_function_proxy_as_constructor_builtin) \ 104 call_function_proxy_as_constructor_builtin) \
105 V(CALL_FUNCTION_PROXY_BUILTIN_INDEX, JSFunction, \
106 call_function_proxy_builtin) \
107 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR_BUILTIN_INDEX, JSFunction, \ 105 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR_BUILTIN_INDEX, JSFunction, \
108 call_non_function_as_constructor_builtin) \ 106 call_non_function_as_constructor_builtin) \
109 V(CALL_NON_FUNCTION_BUILTIN_INDEX, JSFunction, call_non_function_builtin) \
110 V(COMPARE_BUILTIN_INDEX, JSFunction, compare_builtin) \ 107 V(COMPARE_BUILTIN_INDEX, JSFunction, compare_builtin) \
111 V(COMPARE_STRONG_BUILTIN_INDEX, JSFunction, compare_strong_builtin) \ 108 V(COMPARE_STRONG_BUILTIN_INDEX, JSFunction, compare_strong_builtin) \
112 V(CONCAT_ITERABLE_TO_ARRAY_BUILTIN_INDEX, JSFunction, \ 109 V(CONCAT_ITERABLE_TO_ARRAY_BUILTIN_INDEX, JSFunction, \
113 concat_iterable_to_array_builtin) \ 110 concat_iterable_to_array_builtin) \
114 V(DIV_BUILTIN_INDEX, JSFunction, div_builtin) \ 111 V(DIV_BUILTIN_INDEX, JSFunction, div_builtin) \
115 V(DIV_STRONG_BUILTIN_INDEX, JSFunction, div_strong_builtin) \ 112 V(DIV_STRONG_BUILTIN_INDEX, JSFunction, div_strong_builtin) \
116 V(EQUALS_BUILTIN_INDEX, JSFunction, equals_builtin) \ 113 V(EQUALS_BUILTIN_INDEX, JSFunction, equals_builtin) \
117 V(MOD_BUILTIN_INDEX, JSFunction, mod_builtin) \ 114 V(MOD_BUILTIN_INDEX, JSFunction, mod_builtin) \
118 V(MOD_STRONG_BUILTIN_INDEX, JSFunction, mod_strong_builtin) \ 115 V(MOD_STRONG_BUILTIN_INDEX, JSFunction, mod_strong_builtin) \
119 V(MUL_BUILTIN_INDEX, JSFunction, mul_builtin) \ 116 V(MUL_BUILTIN_INDEX, JSFunction, mul_builtin) \
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); 582 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object);
586 #endif 583 #endif
587 584
588 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 585 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
589 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 586 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
590 }; 587 };
591 588
592 } } // namespace v8::internal 589 } } // namespace v8::internal
593 590
594 #endif // V8_CONTEXTS_H_ 591 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698