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

Side by Side Diff: src/runtime/runtime.h

Issue 1752133004: [proxies] throw TypeError in [[Call]] if is_callable Map bit is unset (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | src/runtime/runtime.cc » ('j') | src/runtime/runtime-proxy.cc » ('J')
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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 ElementsKind* fixed_elements_kind, 1134 ElementsKind* fixed_elements_kind,
1135 size_t* element_size); 1135 size_t* element_size);
1136 1136
1137 // Used in runtime.cc and hydrogen's VisitArrayLiteral. 1137 // Used in runtime.cc and hydrogen's VisitArrayLiteral.
1138 MUST_USE_RESULT static MaybeHandle<Object> CreateArrayLiteralBoilerplate( 1138 MUST_USE_RESULT static MaybeHandle<Object> CreateArrayLiteralBoilerplate(
1139 Isolate* isolate, Handle<LiteralsArray> literals, 1139 Isolate* isolate, Handle<LiteralsArray> literals,
1140 Handle<FixedArray> elements); 1140 Handle<FixedArray> elements);
1141 1141
1142 static MaybeHandle<JSArray> GetInternalProperties(Isolate* isolate, 1142 static MaybeHandle<JSArray> GetInternalProperties(Isolate* isolate,
1143 Handle<Object>); 1143 Handle<Object>);
1144
1145 static bool ComputeLocation(Isolate* isolate, MessageLocation* target);
1146 static Handle<String> RenderCallSite(Isolate* isolate, Handle<Object> object);
1144 }; 1147 };
1145 1148
1146 1149
1147 class RuntimeState { 1150 class RuntimeState {
1148 public: 1151 public:
1149 unibrow::Mapping<unibrow::ToUppercase, 128>* to_upper_mapping() { 1152 unibrow::Mapping<unibrow::ToUppercase, 128>* to_upper_mapping() {
1150 return &to_upper_mapping_; 1153 return &to_upper_mapping_;
1151 } 1154 }
1152 unibrow::Mapping<unibrow::ToLowercase, 128>* to_lower_mapping() { 1155 unibrow::Mapping<unibrow::ToLowercase, 128>* to_lower_mapping() {
1153 return &to_lower_mapping_; 1156 return &to_lower_mapping_;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 1190
1188 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1191 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1189 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1192 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1190 STATIC_ASSERT(LANGUAGE_END == 3); 1193 STATIC_ASSERT(LANGUAGE_END == 3);
1191 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1194 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1192 1195
1193 } // namespace internal 1196 } // namespace internal
1194 } // namespace v8 1197 } // namespace v8
1195 1198
1196 #endif // V8_RUNTIME_RUNTIME_H_ 1199 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « no previous file | src/runtime/runtime.cc » ('j') | src/runtime/runtime-proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698