Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 */ | |
| 283 static bool IsTailCallEliminationEnabled(Isolate* isolate); | |
| 284 static void SetTailCallEliminationEnabled(Isolate* isolate, bool enabled); | |
|
jochen (gone - plz use gerrit)
2016/03/29 15:12:15
Can you add a comment saying whether this deopts a
Igor Sheludko
2016/03/29 15:32:19
1) Probably when we decide to avoid disabling TCO
| |
| 279 }; | 285 }; |
| 280 | 286 |
| 281 | 287 |
| 282 } // namespace v8 | 288 } // namespace v8 |
| 283 | 289 |
| 284 | 290 |
| 285 #undef EXPORT | 291 #undef EXPORT |
| 286 | 292 |
| 287 | 293 |
| 288 #endif // V8_V8_DEBUG_H_ | 294 #endif // V8_V8_DEBUG_H_ |
| OLD | NEW |