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

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

Issue 2002933002: [json] move json parser and stringifier into own compilation units. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 7 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/json-stringifier.cc ('k') | src/runtime/runtime-json.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/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 Isolate* isolate, Handle<JSReceiver> receiver, Handle<Object> key, 1082 Isolate* isolate, Handle<JSReceiver> receiver, Handle<Object> key,
1083 LanguageMode language_mode); 1083 LanguageMode language_mode);
1084 1084
1085 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( 1085 MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty(
1086 Isolate* isolate, Handle<Object> object, Handle<Object> key, 1086 Isolate* isolate, Handle<Object> object, Handle<Object> key,
1087 Handle<Object> value, LanguageMode language_mode); 1087 Handle<Object> value, LanguageMode language_mode);
1088 1088
1089 MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty( 1089 MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty(
1090 Isolate* isolate, Handle<Object> object, Handle<Object> key); 1090 Isolate* isolate, Handle<Object> object, Handle<Object> key);
1091 1091
1092 MUST_USE_RESULT static MaybeHandle<Object> BasicJsonStringify(
1093 Isolate* isolate, Handle<Object> object, Handle<String> gap);
1094
1095 MUST_USE_RESULT static MaybeHandle<Object> BasicJsonStringifyString(
1096 Isolate* isolate, Handle<String> string);
1097
1098 enum TypedArrayId { 1092 enum TypedArrayId {
1099 // arrayIds below should be synchronized with typedarray.js natives. 1093 // arrayIds below should be synchronized with typedarray.js natives.
1100 ARRAY_ID_UINT8 = 1, 1094 ARRAY_ID_UINT8 = 1,
1101 ARRAY_ID_INT8 = 2, 1095 ARRAY_ID_INT8 = 2,
1102 ARRAY_ID_UINT16 = 3, 1096 ARRAY_ID_UINT16 = 3,
1103 ARRAY_ID_INT16 = 4, 1097 ARRAY_ID_INT16 = 4,
1104 ARRAY_ID_UINT32 = 5, 1098 ARRAY_ID_UINT32 = 5,
1105 ARRAY_ID_INT32 = 6, 1099 ARRAY_ID_INT32 = 6,
1106 ARRAY_ID_FLOAT32 = 7, 1100 ARRAY_ID_FLOAT32 = 7,
1107 ARRAY_ID_FLOAT64 = 8, 1101 ARRAY_ID_FLOAT64 = 8,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 1156
1163 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1157 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1164 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1158 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1165 STATIC_ASSERT(LANGUAGE_END == 3); 1159 STATIC_ASSERT(LANGUAGE_END == 3);
1166 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1160 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1167 1161
1168 } // namespace internal 1162 } // namespace internal
1169 } // namespace v8 1163 } // namespace v8
1170 1164
1171 #endif // V8_RUNTIME_RUNTIME_H_ 1165 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/json-stringifier.cc ('k') | src/runtime/runtime-json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698