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

Side by Side Diff: include/v8-debug.h

Issue 1842763002: [api] Add a switch that controls if ES2015 tail call elimination feature is enabled or not. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@tco-dynamic
Patch Set: Added workaround and TODO to investigate TurboFan issue. Created 4 years, 8 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/api.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 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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_V8_DEBUG_H_ 5 #ifndef V8_V8_DEBUG_H_
6 #define V8_V8_DEBUG_H_ 6 #define V8_V8_DEBUG_H_
7 7
8 #include "v8.h" // NOLINT(build/include) 8 #include "v8.h" // NOLINT(build/include)
9 9
10 /** 10 /**
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 */ 269 */
270 static void SetLiveEditEnabled(Isolate* isolate, bool enable); 270 static void SetLiveEditEnabled(Isolate* isolate, bool enable);
271 271
272 /** 272 /**
273 * Returns array of internal properties specific to the value type. Result has 273 * Returns array of internal properties specific to the value type. Result has
274 * the following format: [<name>, <value>,...,<name>, <value>]. Result array 274 * the following format: [<name>, <value>,...,<name>, <value>]. Result array
275 * will be allocated in the current context. 275 * will be allocated in the current context.
276 */ 276 */
277 static MaybeLocal<Array> GetInternalProperties(Isolate* isolate, 277 static MaybeLocal<Array> GetInternalProperties(Isolate* isolate,
278 Local<Value> value); 278 Local<Value> value);
279
280 /**
281 * Defines if the ES2015 tail call elimination feature is enabled or not.
282 * The change of this flag triggers deoptimization of all functions that
283 * contain calls at tail position.
284 */
285 static bool IsTailCallEliminationEnabled(Isolate* isolate);
286 static void SetTailCallEliminationEnabled(Isolate* isolate, bool enabled);
279 }; 287 };
280 288
281 289
282 } // namespace v8 290 } // namespace v8
283 291
284 292
285 #undef EXPORT 293 #undef EXPORT
286 294
287 295
288 #endif // V8_V8_DEBUG_H_ 296 #endif // V8_V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698