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

Side by Side Diff: src/contexts.h

Issue 1319973007: [runtime] Add %ToString and %_ToString and remove the TO_STRING builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/compiler/linkage.cc ('k') | src/full-codegen/arm/full-codegen-arm.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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 V(SAR_BUILTIN_INDEX, JSFunction, sar_builtin) \ 126 V(SAR_BUILTIN_INDEX, JSFunction, sar_builtin) \
127 V(SAR_STRONG_BUILTIN_INDEX, JSFunction, sar_strong_builtin) \ 127 V(SAR_STRONG_BUILTIN_INDEX, JSFunction, sar_strong_builtin) \
128 V(SHL_BUILTIN_INDEX, JSFunction, shl_builtin) \ 128 V(SHL_BUILTIN_INDEX, JSFunction, shl_builtin) \
129 V(SHL_STRONG_BUILTIN_INDEX, JSFunction, shl_strong_builtin) \ 129 V(SHL_STRONG_BUILTIN_INDEX, JSFunction, shl_strong_builtin) \
130 V(SHR_BUILTIN_INDEX, JSFunction, shr_builtin) \ 130 V(SHR_BUILTIN_INDEX, JSFunction, shr_builtin) \
131 V(SHR_STRONG_BUILTIN_INDEX, JSFunction, shr_strong_builtin) \ 131 V(SHR_STRONG_BUILTIN_INDEX, JSFunction, shr_strong_builtin) \
132 V(STACK_OVERFLOW_BUILTIN_INDEX, JSFunction, stack_overflow_builtin) \ 132 V(STACK_OVERFLOW_BUILTIN_INDEX, JSFunction, stack_overflow_builtin) \
133 V(STRING_ADD_LEFT_BUILTIN_INDEX, JSFunction, string_add_left_builtin) \ 133 V(STRING_ADD_LEFT_BUILTIN_INDEX, JSFunction, string_add_left_builtin) \
134 V(STRING_ADD_RIGHT_BUILTIN_INDEX, JSFunction, string_add_right_builtin) \ 134 V(STRING_ADD_RIGHT_BUILTIN_INDEX, JSFunction, string_add_right_builtin) \
135 V(SUB_BUILTIN_INDEX, JSFunction, sub_builtin) \ 135 V(SUB_BUILTIN_INDEX, JSFunction, sub_builtin) \
136 V(SUB_STRONG_BUILTIN_INDEX, JSFunction, sub_strong_builtin) \ 136 V(SUB_STRONG_BUILTIN_INDEX, JSFunction, sub_strong_builtin)
137 V(TO_STRING_BUILTIN_INDEX, JSFunction, to_string_builtin)
138 137
139 138
140 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \ 139 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \
141 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \ 140 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \
142 V(ARRAY_POP_INDEX, JSFunction, array_pop) \ 141 V(ARRAY_POP_INDEX, JSFunction, array_pop) \
143 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \ 142 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \
144 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \ 143 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \
145 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \ 144 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \
146 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \ 145 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \
147 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \ 146 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); 639 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object);
641 #endif 640 #endif
642 641
643 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 642 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
644 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 643 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
645 }; 644 };
646 645
647 } } // namespace v8::internal 646 } } // namespace v8::internal
648 647
649 #endif // V8_CONTEXTS_H_ 648 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/compiler/linkage.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698