OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #include "src/debug/debug-evaluate.h" | 5 #include "src/debug/debug-evaluate.h" |
6 | 6 |
7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
8 #include "src/compiler.h" | 8 #include "src/compiler.h" |
9 #include "src/contexts.h" | 9 #include "src/contexts.h" |
10 #include "src/debug/debug-frames.h" | 10 #include "src/debug/debug-frames.h" |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 switch (id) { | 406 switch (id) { |
407 // Whitelist for builtins. | 407 // Whitelist for builtins. |
408 // Array builtins. | 408 // Array builtins. |
409 case Builtins::kArrayCode: | 409 case Builtins::kArrayCode: |
410 case Builtins::kArrayIndexOf: | 410 case Builtins::kArrayIndexOf: |
411 case Builtins::kArrayPrototypeValues: | 411 case Builtins::kArrayPrototypeValues: |
412 case Builtins::kArrayIncludes: | 412 case Builtins::kArrayIncludes: |
413 case Builtins::kArrayPrototypeEntries: | 413 case Builtins::kArrayPrototypeEntries: |
414 case Builtins::kArrayPrototypeKeys: | 414 case Builtins::kArrayPrototypeKeys: |
415 case Builtins::kArrayForEach: | 415 case Builtins::kArrayForEach: |
| 416 case Builtins::kArrayEvery: |
| 417 case Builtins::kArraySome: |
416 // Math builtins. | 418 // Math builtins. |
417 case Builtins::kMathAbs: | 419 case Builtins::kMathAbs: |
418 case Builtins::kMathAcos: | 420 case Builtins::kMathAcos: |
419 case Builtins::kMathAcosh: | 421 case Builtins::kMathAcosh: |
420 case Builtins::kMathAsin: | 422 case Builtins::kMathAsin: |
421 case Builtins::kMathAsinh: | 423 case Builtins::kMathAsinh: |
422 case Builtins::kMathAtan: | 424 case Builtins::kMathAtan: |
423 case Builtins::kMathAtanh: | 425 case Builtins::kMathAtanh: |
424 case Builtins::kMathAtan2: | 426 case Builtins::kMathAtan2: |
425 case Builtins::kMathCeil: | 427 case Builtins::kMathCeil: |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 | 562 |
561 if (FLAG_trace_side_effect_free_debug_evaluate) { | 563 if (FLAG_trace_side_effect_free_debug_evaluate) { |
562 PrintF("[debug-evaluate] API Callback at %p may cause side effect.\n", | 564 PrintF("[debug-evaluate] API Callback at %p may cause side effect.\n", |
563 reinterpret_cast<void*>(function_addr)); | 565 reinterpret_cast<void*>(function_addr)); |
564 } | 566 } |
565 return false; | 567 return false; |
566 } | 568 } |
567 | 569 |
568 } // namespace internal | 570 } // namespace internal |
569 } // namespace v8 | 571 } // namespace v8 |
OLD | NEW |