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

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

Issue 1213203007: Create a internal, global native context used only for generated code stubs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 5 years, 5 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/runtime.js ('k') | src/runtime/runtime-internal.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_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/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 F(CallSiteIsToplevelRT, 3, 1) \ 325 F(CallSiteIsToplevelRT, 3, 1) \
326 F(CallSiteIsEvalRT, 3, 1) \ 326 F(CallSiteIsEvalRT, 3, 1) \
327 F(CallSiteIsConstructorRT, 3, 1) \ 327 F(CallSiteIsConstructorRT, 3, 1) \
328 F(IS_VAR, 1, 1) \ 328 F(IS_VAR, 1, 1) \
329 F(GetFromCache, 2, 1) \ 329 F(GetFromCache, 2, 1) \
330 F(IncrementStatsCounter, 1, 1) \ 330 F(IncrementStatsCounter, 1, 1) \
331 F(Likely, 1, 1) \ 331 F(Likely, 1, 1) \
332 F(Unlikely, 1, 1) \ 332 F(Unlikely, 1, 1) \
333 F(HarmonyToString, 0, 1) \ 333 F(HarmonyToString, 0, 1) \
334 F(GetTypeFeedbackVector, 1, 1) \ 334 F(GetTypeFeedbackVector, 1, 1) \
335 F(GetCallerJSFunction, 0, 1) 335 F(GetCallerJSFunction, 0, 1) \
336 F(GetCodeStubExportsObject, 0, 1)
336 337
337 338
338 #define FOR_EACH_INTRINSIC_JSON(F) \ 339 #define FOR_EACH_INTRINSIC_JSON(F) \
339 F(QuoteJSONString, 1, 1) \ 340 F(QuoteJSONString, 1, 1) \
340 F(BasicJSONStringify, 1, 1) \ 341 F(BasicJSONStringify, 1, 1) \
341 F(ParseJson, 1, 1) 342 F(ParseJson, 1, 1)
342 343
343 344
344 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 345 #define FOR_EACH_INTRINSIC_LITERALS(F) \
345 F(CreateObjectLiteral, 4, 1) \ 346 F(CreateObjectLiteral, 4, 1) \
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 942 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
942 return size == 1 || size == 2 || size == 4; 943 return size == 1 || size == 2 || size == 4;
943 } 944 }
944 945
945 #endif 946 #endif
946 947
947 } // namespace internal 948 } // namespace internal
948 } // namespace v8 949 } // namespace v8
949 950
950 #endif // V8_RUNTIME_RUNTIME_H_ 951 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698