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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/compiler.h" | 7 #include "src/compiler.h" |
8 #include "src/interpreter/bytecode-array-iterator.h" | 8 #include "src/interpreter/bytecode-array-iterator.h" |
9 #include "src/interpreter/bytecode-generator.h" | 9 #include "src/interpreter/bytecode-generator.h" |
10 #include "src/interpreter/interpreter.h" | 10 #include "src/interpreter/interpreter.h" |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 for (size_t i = 0; i < arraysize(snippets); i++) { | 898 for (size_t i = 0; i < arraysize(snippets); i++) { |
899 Handle<BytecodeArray> bytecode_array = | 899 Handle<BytecodeArray> bytecode_array = |
900 helper.MakeBytecode(snippets[i].code_snippet, helper.kFunctionName); | 900 helper.MakeBytecode(snippets[i].code_snippet, helper.kFunctionName); |
901 CheckBytecodeArrayEqual(snippets[i], bytecode_array); | 901 CheckBytecodeArrayEqual(snippets[i], bytecode_array); |
902 } | 902 } |
903 } | 903 } |
904 | 904 |
905 | 905 |
906 } // namespace interpreter | 906 } // namespace interpreter |
907 } // namespace internal | 907 } // namespace internal |
908 } // namespance v8 | 908 } // namespace v8 |
OLD | NEW |