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

Side by Side Diff: src/bootstrapper.cc

Issue 1230793002: [es6] silence access-check failure for well-known symbol properties (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ensure @@isConcatSpreadable is actually installed now that its in a separate list Created 5 years, 2 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/api.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/bootstrapper.h" 5 #include "src/bootstrapper.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api-natives.h" 8 #include "src/api-natives.h"
9 #include "src/base/utils/random-number-generator.h" 9 #include "src/base/utils/random-number-generator.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 1793 matching lines...) Expand 10 before | Expand all | Expand 10 after
1804 NONE); 1804 NONE);
1805 PRIVATE_SYMBOL_LIST(EXPORT_PRIVATE_SYMBOL) 1805 PRIVATE_SYMBOL_LIST(EXPORT_PRIVATE_SYMBOL)
1806 #undef EXPORT_PRIVATE_SYMBOL 1806 #undef EXPORT_PRIVATE_SYMBOL
1807 1807
1808 #define EXPORT_PUBLIC_SYMBOL(NAME, DESCRIPTION) \ 1808 #define EXPORT_PUBLIC_SYMBOL(NAME, DESCRIPTION) \
1809 Handle<String> NAME##_name = \ 1809 Handle<String> NAME##_name = \
1810 isolate->factory()->NewStringFromAsciiChecked(#NAME); \ 1810 isolate->factory()->NewStringFromAsciiChecked(#NAME); \
1811 JSObject::AddProperty(container, NAME##_name, isolate->factory()->NAME(), \ 1811 JSObject::AddProperty(container, NAME##_name, isolate->factory()->NAME(), \
1812 NONE); 1812 NONE);
1813 PUBLIC_SYMBOL_LIST(EXPORT_PUBLIC_SYMBOL) 1813 PUBLIC_SYMBOL_LIST(EXPORT_PUBLIC_SYMBOL)
1814 WELL_KNOWN_SYMBOL_LIST(EXPORT_PUBLIC_SYMBOL)
1814 #undef EXPORT_PUBLIC_SYMBOL 1815 #undef EXPORT_PUBLIC_SYMBOL
1815 1816
1816 { 1817 {
1817 Handle<JSFunction> apply = InstallFunction( 1818 Handle<JSFunction> apply = InstallFunction(
1818 container, "reflect_apply", JS_OBJECT_TYPE, JSObject::kHeaderSize, 1819 container, "reflect_apply", JS_OBJECT_TYPE, JSObject::kHeaderSize,
1819 MaybeHandle<JSObject>(), Builtins::kReflectApply); 1820 MaybeHandle<JSObject>(), Builtins::kReflectApply);
1820 apply->shared()->set_internal_formal_parameter_count(3); 1821 apply->shared()->set_internal_formal_parameter_count(3);
1821 apply->shared()->set_length(3); 1822 apply->shared()->set_length(3);
1822 Handle<TypeFeedbackVector> feedback_vector = 1823 Handle<TypeFeedbackVector> feedback_vector =
1823 TypeFeedbackVector::CreatePushAppliedArgumentsVector(isolate); 1824 TypeFeedbackVector::CreatePushAppliedArgumentsVector(isolate);
(...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after
3279 } 3280 }
3280 3281
3281 3282
3282 // Called when the top-level V8 mutex is destroyed. 3283 // Called when the top-level V8 mutex is destroyed.
3283 void Bootstrapper::FreeThreadResources() { 3284 void Bootstrapper::FreeThreadResources() {
3284 DCHECK(!IsActive()); 3285 DCHECK(!IsActive());
3285 } 3286 }
3286 3287
3287 } // namespace internal 3288 } // namespace internal
3288 } // namespace v8 3289 } // namespace v8
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698