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

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

Issue 2493823003: [wasm] Allocate a single script per wasm module (Closed)
Patch Set: rebase Created 4 years, 1 month 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/objects-inl.h ('k') | src/runtime/runtime-debug.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 <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 F(ScriptPositionInfo, 3, 1) \ 192 F(ScriptPositionInfo, 3, 1) \
193 F(ScriptSourceLine, 2, 1) \ 193 F(ScriptSourceLine, 2, 1) \
194 F(DebugPrepareStepInIfStepping, 1, 1) \ 194 F(DebugPrepareStepInIfStepping, 1, 1) \
195 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \ 195 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \
196 F(DebugRecordAsyncFunction, 1, 1) \ 196 F(DebugRecordAsyncFunction, 1, 1) \
197 F(DebugPushPromise, 1, 1) \ 197 F(DebugPushPromise, 1, 1) \
198 F(DebugPopPromise, 0, 1) \ 198 F(DebugPopPromise, 0, 1) \
199 F(DebugNextMicrotaskId, 0, 1) \ 199 F(DebugNextMicrotaskId, 0, 1) \
200 F(DebugAsyncTaskEvent, 3, 1) \ 200 F(DebugAsyncTaskEvent, 3, 1) \
201 F(DebugIsActive, 0, 1) \ 201 F(DebugIsActive, 0, 1) \
202 F(DebugBreakInOptimizedCode, 0, 1) \ 202 F(DebugBreakInOptimizedCode, 0, 1)
203 F(GetWasmFunctionOffsetTable, 1, 1) \
204 F(DisassembleWasmFunction, 1, 1)
205 203
206 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1) 204 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1)
207 205
208 #define FOR_EACH_INTRINSIC_FORIN(F) \ 206 #define FOR_EACH_INTRINSIC_FORIN(F) \
209 F(ForInEnumerate, 1, 1) \ 207 F(ForInEnumerate, 1, 1) \
210 F(ForInFilter, 2, 1) \ 208 F(ForInFilter, 2, 1) \
211 F(ForInHasProperty, 2, 1) \ 209 F(ForInHasProperty, 2, 1) \
212 F(ForInNext, 4, 1) 210 F(ForInNext, 4, 1)
213 211
214 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ 212 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 1130
1133 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1131 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1134 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1132 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1135 STATIC_ASSERT(LANGUAGE_END == 2); 1133 STATIC_ASSERT(LANGUAGE_END == 2);
1136 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1134 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1137 1135
1138 } // namespace internal 1136 } // namespace internal
1139 } // namespace v8 1137 } // namespace v8
1140 1138
1141 #endif // V8_RUNTIME_RUNTIME_H_ 1139 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698