Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "src/v8.h" |
| 6 | |
| 7 | #include "src/interpreter/bytecode-array-builder.h" |
| 8 | #include "src/interpreter/bytecode-array-iterator.h" |
| 9 | #include "test/unittests/test-utils.h" |
| 10 | |
| 11 | namespace v8 { |
| 12 | namespace internal { |
| 13 | namespace interpreter { |
| 14 | |
| 15 | class BytecodeArrayIteratorTest : public TestWithIsolateAndZone { |
| 16 | public: |
| 17 | BytecodeArrayIteratorTest() {} |
| 18 | ~BytecodeArrayIteratorTest() override {} |
| 19 | }; |
| 20 | |
| 21 | |
| 22 | TEST_F(BytecodeArrayIteratorTest, IteratesBytecodeArray) { |
| 23 | // Use a builder to create an array with containing multiple bytecodes |
| 24 | // with 0, 1 and 2 operands. |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 25 | BytecodeArrayBuilder builder(isolate(), zone(), 3, 3, 0); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 26 | Factory* factory = isolate()->factory(); |
| 27 | Handle<HeapObject> heap_num_0 = factory->NewHeapNumber(2.718); |
| 28 | Handle<HeapObject> heap_num_1 = factory->NewHeapNumber(2147483647); |
| 29 | Smi* zero = Smi::FromInt(0); |
| 30 | Smi* smi_0 = Smi::FromInt(64); |
| 31 | Smi* smi_1 = Smi::FromInt(-65536); |
| 32 | Register reg_0(0); |
| 33 | Register reg_1(1); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 34 | Register param = Register::FromParameterIndex(2, builder.parameter_count()); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 35 | Handle<String> name = factory->NewStringFromStaticChars("abc"); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 36 | int name_index = 2; |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 37 | int feedback_slot = 97; |
| 38 | |
| 39 | builder.LoadLiteral(heap_num_0) |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 40 | .StoreAccumulatorInRegister(reg_0) |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 41 | .LoadLiteral(heap_num_1) |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 42 | .StoreAccumulatorInRegister(reg_0) |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 43 | .LoadLiteral(zero) |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 44 | .StoreAccumulatorInRegister(reg_0) |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 45 | .LoadLiteral(smi_0) |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 46 | .StoreAccumulatorInRegister(reg_0) |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 47 | .LoadLiteral(smi_1) |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 48 | .StoreAccumulatorInRegister(reg_1) |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 49 | .LoadAccumulatorWithRegister(reg_0) |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 50 | .StoreAccumulatorInRegister(reg_1) |
Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 51 | .LoadNamedProperty(reg_1, name, feedback_slot) |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 52 | .StoreAccumulatorInRegister(param) |
| 53 | .CallRuntimeForPair(Runtime::kLoadLookupSlotForCall, param, 1, reg_0) |
| 54 | .ForInPrepare(reg_0) |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 55 | .CallRuntime(Runtime::kLoadIC_Miss, reg_0, 1) |
Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 56 | .Debugger() |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 57 | .LoadGlobal(name, 0x10000000, TypeofMode::NOT_INSIDE_TYPEOF) |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 58 | .Return(); |
| 59 | |
| 60 | // Test iterator sees the expected output from the builder. |
| 61 | BytecodeArrayIterator iterator(builder.ToBytecodeArray()); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 62 | const int kPrefixByteSize = 1; |
| 63 | int offset = 0; |
| 64 | |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 65 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kLdaConstant); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 66 | CHECK_EQ(iterator.current_offset(), offset); |
| 67 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 68 | CHECK(iterator.GetConstantForIndexOperand(0).is_identical_to(heap_num_0)); |
| 69 | CHECK(!iterator.done()); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 70 | offset += Bytecodes::Size(Bytecode::kLdaConstant, OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 71 | iterator.Advance(); |
| 72 | |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 73 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kStar); |
| 74 | CHECK_EQ(iterator.current_offset(), offset); |
| 75 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
| 76 | CHECK_EQ(iterator.GetRegisterOperand(0).index(), reg_0.index()); |
| 77 | CHECK_EQ(iterator.GetRegisterOperandRange(0), 1); |
| 78 | CHECK(!iterator.done()); |
| 79 | offset += Bytecodes::Size(Bytecode::kStar, OperandScale::kSingle); |
| 80 | iterator.Advance(); |
| 81 | |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 82 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kLdaConstant); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 83 | CHECK_EQ(iterator.current_offset(), offset); |
| 84 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 85 | CHECK(iterator.GetConstantForIndexOperand(0).is_identical_to(heap_num_1)); |
| 86 | CHECK(!iterator.done()); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 87 | offset += Bytecodes::Size(Bytecode::kLdaConstant, OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 88 | iterator.Advance(); |
| 89 | |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 90 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kStar); |
| 91 | CHECK_EQ(iterator.current_offset(), offset); |
| 92 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
| 93 | CHECK_EQ(iterator.GetRegisterOperand(0).index(), reg_0.index()); |
| 94 | CHECK_EQ(iterator.GetRegisterOperandRange(0), 1); |
| 95 | CHECK(!iterator.done()); |
| 96 | offset += Bytecodes::Size(Bytecode::kStar, OperandScale::kSingle); |
| 97 | iterator.Advance(); |
| 98 | |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 99 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kLdaZero); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 100 | CHECK_EQ(iterator.current_offset(), offset); |
| 101 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 102 | CHECK(!iterator.done()); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 103 | offset += Bytecodes::Size(Bytecode::kLdaZero, OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 104 | iterator.Advance(); |
| 105 | |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 106 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kStar); |
| 107 | CHECK_EQ(iterator.current_offset(), offset); |
| 108 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
| 109 | CHECK_EQ(iterator.GetRegisterOperand(0).index(), reg_0.index()); |
| 110 | CHECK_EQ(iterator.GetRegisterOperandRange(0), 1); |
| 111 | CHECK(!iterator.done()); |
| 112 | offset += Bytecodes::Size(Bytecode::kStar, OperandScale::kSingle); |
| 113 | iterator.Advance(); |
| 114 | |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 115 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kLdaSmi); |
| 116 | CHECK_EQ(iterator.current_offset(), offset); |
| 117 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 118 | CHECK_EQ(Smi::FromInt(iterator.GetImmediateOperand(0)), smi_0); |
| 119 | CHECK(!iterator.done()); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 120 | offset += Bytecodes::Size(Bytecode::kLdaSmi, OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 121 | iterator.Advance(); |
| 122 | |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 123 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kStar); |
| 124 | CHECK_EQ(iterator.current_offset(), offset); |
| 125 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
| 126 | CHECK_EQ(iterator.GetRegisterOperand(0).index(), reg_0.index()); |
| 127 | CHECK_EQ(iterator.GetRegisterOperandRange(0), 1); |
| 128 | CHECK(!iterator.done()); |
| 129 | offset += Bytecodes::Size(Bytecode::kStar, OperandScale::kSingle); |
| 130 | iterator.Advance(); |
| 131 | |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 132 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kLdaSmi); |
| 133 | CHECK_EQ(iterator.current_offset(), offset); |
| 134 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kQuadruple); |
| 135 | CHECK_EQ(Smi::FromInt(iterator.GetImmediateOperand(0)), smi_1); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 136 | CHECK(!iterator.done()); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 137 | offset += Bytecodes::Size(Bytecode::kLdaSmi, OperandScale::kQuadruple) + |
| 138 | kPrefixByteSize; |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 139 | iterator.Advance(); |
| 140 | |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 141 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kStar); |
| 142 | CHECK_EQ(iterator.current_offset(), offset); |
| 143 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
| 144 | CHECK_EQ(iterator.GetRegisterOperand(0).index(), reg_1.index()); |
| 145 | CHECK_EQ(iterator.GetRegisterOperandRange(0), 1); |
| 146 | CHECK(!iterator.done()); |
| 147 | offset += Bytecodes::Size(Bytecode::kStar, OperandScale::kSingle); |
| 148 | iterator.Advance(); |
| 149 | |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 150 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kLdar); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 151 | CHECK_EQ(iterator.current_offset(), offset); |
| 152 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 153 | CHECK_EQ(iterator.GetRegisterOperand(0).index(), reg_0.index()); |
| 154 | CHECK(!iterator.done()); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 155 | offset += Bytecodes::Size(Bytecode::kLdar, OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 156 | iterator.Advance(); |
| 157 | |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame^] | 158 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kStar); |
| 159 | CHECK_EQ(iterator.current_offset(), offset); |
| 160 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
| 161 | CHECK_EQ(iterator.GetRegisterOperand(0).index(), reg_1.index()); |
| 162 | CHECK_EQ(iterator.GetRegisterOperandRange(0), 1); |
| 163 | CHECK(!iterator.done()); |
| 164 | offset += Bytecodes::Size(Bytecode::kStar, OperandScale::kSingle); |
| 165 | iterator.Advance(); |
| 166 | |
Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 167 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kLoadIC); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 168 | CHECK_EQ(iterator.current_offset(), offset); |
| 169 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 170 | CHECK_EQ(iterator.GetRegisterOperand(0).index(), reg_1.index()); |
| 171 | CHECK_EQ(iterator.GetIndexOperand(1), name_index); |
| 172 | CHECK_EQ(iterator.GetIndexOperand(2), feedback_slot); |
| 173 | CHECK(!iterator.done()); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 174 | offset += Bytecodes::Size(Bytecode::kLoadIC, OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 175 | iterator.Advance(); |
| 176 | |
| 177 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kStar); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 178 | CHECK_EQ(iterator.current_offset(), offset); |
| 179 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
| 180 | CHECK_EQ(iterator.GetRegisterOperand(0).index(), param.index()); |
| 181 | CHECK_EQ(iterator.GetRegisterOperandRange(0), 1); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 182 | CHECK(!iterator.done()); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 183 | offset += Bytecodes::Size(Bytecode::kStar, OperandScale::kSingle); |
| 184 | iterator.Advance(); |
| 185 | |
| 186 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kCallRuntimeForPair); |
| 187 | CHECK_EQ(iterator.current_offset(), offset); |
| 188 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
| 189 | CHECK_EQ(iterator.GetRuntimeIdOperand(0), Runtime::kLoadLookupSlotForCall); |
| 190 | CHECK_EQ(iterator.GetRegisterOperand(1).index(), param.index()); |
| 191 | CHECK_EQ(iterator.GetRegisterOperandRange(1), 1); |
| 192 | CHECK_EQ(iterator.GetRegisterCountOperand(2), 1); |
| 193 | CHECK_EQ(iterator.GetRegisterOperand(3).index(), reg_0.index()); |
| 194 | CHECK_EQ(iterator.GetRegisterOperandRange(3), 2); |
| 195 | CHECK(!iterator.done()); |
| 196 | offset += |
| 197 | Bytecodes::Size(Bytecode::kCallRuntimeForPair, OperandScale::kSingle); |
| 198 | iterator.Advance(); |
| 199 | |
| 200 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kForInPrepare); |
| 201 | CHECK_EQ(iterator.current_offset(), offset); |
| 202 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
| 203 | CHECK_EQ(iterator.GetRegisterOperand(0).index(), reg_0.index()); |
| 204 | CHECK_EQ(iterator.GetRegisterOperandRange(0), 3); |
| 205 | CHECK(!iterator.done()); |
| 206 | offset += Bytecodes::Size(Bytecode::kForInPrepare, OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 207 | iterator.Advance(); |
| 208 | |
| 209 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kCallRuntime); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 210 | CHECK_EQ(iterator.current_offset(), offset); |
| 211 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
| 212 | CHECK_EQ(static_cast<Runtime::FunctionId>(iterator.GetRuntimeIdOperand(0)), |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 213 | Runtime::kLoadIC_Miss); |
| 214 | CHECK_EQ(iterator.GetRegisterOperand(1).index(), reg_0.index()); |
Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 215 | CHECK_EQ(iterator.GetRegisterCountOperand(2), 1); |
| 216 | CHECK(!iterator.done()); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 217 | offset += Bytecodes::Size(Bytecode::kCallRuntime, OperandScale::kSingle); |
Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 218 | iterator.Advance(); |
| 219 | |
| 220 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kDebugger); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 221 | CHECK_EQ(iterator.current_offset(), offset); |
| 222 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 223 | CHECK(!iterator.done()); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 224 | offset += Bytecodes::Size(Bytecode::kDebugger, OperandScale::kSingle); |
| 225 | iterator.Advance(); |
| 226 | |
| 227 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kLdaGlobal); |
| 228 | CHECK_EQ(iterator.current_offset(), offset); |
| 229 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kQuadruple); |
| 230 | CHECK_EQ(iterator.current_bytecode_size(), 10); |
| 231 | CHECK_EQ(iterator.GetIndexOperand(1), 0x10000000); |
| 232 | offset += Bytecodes::Size(Bytecode::kLdaGlobal, OperandScale::kQuadruple) + |
| 233 | kPrefixByteSize; |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 234 | iterator.Advance(); |
| 235 | |
| 236 | CHECK_EQ(iterator.current_bytecode(), Bytecode::kReturn); |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 237 | CHECK_EQ(iterator.current_offset(), offset); |
| 238 | CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 239 | CHECK(!iterator.done()); |
| 240 | iterator.Advance(); |
| 241 | CHECK(iterator.done()); |
| 242 | } |
| 243 | |
| 244 | } // namespace interpreter |
| 245 | } // namespace internal |
| 246 | } // namespace v8 |