blob: 38635ea3cf9380578bb0555b67c66107e2ff63c1 [file] [log] [blame]
Ben Murdoch3ef787d2012-04-12 10:51:47 +01001// Copyright 2012 the V8 project authors. All rights reserved.
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
Ben Murdochb0fe1622011-05-05 13:52:32 +01004
Ben Murdochb8a8cc12014-11-26 15:28:44 +00005#include "src/codegen.h"
6#include "src/deoptimizer.h"
Ben Murdoch4a90d5f2016-03-22 12:00:34 +00007#include "src/full-codegen/full-codegen.h"
8#include "src/register-configuration.h"
Ben Murdochb8a8cc12014-11-26 15:28:44 +00009#include "src/safepoint-table.h"
Ben Murdochb0fe1622011-05-05 13:52:32 +010010
11namespace v8 {
12namespace internal {
13
Ben Murdochb8a8cc12014-11-26 15:28:44 +000014const int Deoptimizer::table_entry_size_ = 8;
Ben Murdochb0fe1622011-05-05 13:52:32 +010015
Steve Block1e0659c2011-05-24 12:43:12 +010016
17int Deoptimizer::patch_size() {
18 const int kCallInstructionSizeInWords = 3;
19 return kCallInstructionSizeInWords * Assembler::kInstrSize;
20}
21
22
Emily Bernierd0a1eb72015-03-24 16:35:39 -040023void Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(Handle<Code> code) {
24 // Empty because there is no need for relocation information for the code
25 // patching in Deoptimizer::PatchCodeForDeoptimization below.
26}
27
28
Ben Murdochb8a8cc12014-11-26 15:28:44 +000029void Deoptimizer::PatchCodeForDeoptimization(Isolate* isolate, Code* code) {
Ben Murdoch2b4ba112012-01-20 14:57:15 +000030 Address code_start_address = code->instruction_start();
Ben Murdochb0fe1622011-05-05 13:52:32 +010031 // Invalidate the relocation information, as it will become invalid by the
32 // code patching below, and is not needed any more.
33 code->InvalidateRelocation();
34
Ben Murdochb8a8cc12014-11-26 15:28:44 +000035 if (FLAG_zap_code_space) {
36 // Fail hard and early if we enter this code object again.
37 byte* pointer = code->FindCodeAgeSequence();
38 if (pointer != NULL) {
39 pointer += kNoCodeAgeSequenceLength;
40 } else {
41 pointer = code->instruction_start();
42 }
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000043 CodePatcher patcher(isolate, pointer, 1);
Ben Murdochb8a8cc12014-11-26 15:28:44 +000044 patcher.masm()->bkpt(0);
45
46 DeoptimizationInputData* data =
47 DeoptimizationInputData::cast(code->deoptimization_data());
48 int osr_offset = data->OsrPcOffset()->value();
49 if (osr_offset > 0) {
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000050 CodePatcher osr_patcher(isolate, code->instruction_start() + osr_offset,
51 1);
Ben Murdochb8a8cc12014-11-26 15:28:44 +000052 osr_patcher.masm()->bkpt(0);
53 }
54 }
55
Ben Murdoch2b4ba112012-01-20 14:57:15 +000056 DeoptimizationInputData* deopt_data =
57 DeoptimizationInputData::cast(code->deoptimization_data());
Ben Murdochb0fe1622011-05-05 13:52:32 +010058#ifdef DEBUG
Ben Murdoch2b4ba112012-01-20 14:57:15 +000059 Address prev_call_address = NULL;
Ben Murdochb0fe1622011-05-05 13:52:32 +010060#endif
Ben Murdochb8a8cc12014-11-26 15:28:44 +000061 // For each LLazyBailout instruction insert a call to the corresponding
62 // deoptimization entry.
Ben Murdoch2b4ba112012-01-20 14:57:15 +000063 for (int i = 0; i < deopt_data->DeoptCount(); i++) {
64 if (deopt_data->Pc(i)->value() == -1) continue;
65 Address call_address = code_start_address + deopt_data->Pc(i)->value();
Ben Murdochb8a8cc12014-11-26 15:28:44 +000066 Address deopt_entry = GetDeoptimizationEntry(isolate, i, LAZY);
67 // We need calls to have a predictable size in the unoptimized code, but
68 // this is optimized code, so we don't have to have a predictable size.
69 int call_size_in_bytes =
70 MacroAssembler::CallSizeNotPredictableCodeSize(isolate,
71 deopt_entry,
72 RelocInfo::NONE32);
Ben Murdoch2b4ba112012-01-20 14:57:15 +000073 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize;
Ben Murdochb8a8cc12014-11-26 15:28:44 +000074 DCHECK(call_size_in_bytes % Assembler::kInstrSize == 0);
75 DCHECK(call_size_in_bytes <= patch_size());
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000076 CodePatcher patcher(isolate, call_address, call_size_in_words);
Ben Murdochb8a8cc12014-11-26 15:28:44 +000077 patcher.masm()->Call(deopt_entry, RelocInfo::NONE32);
78 DCHECK(prev_call_address == NULL ||
Ben Murdoch2b4ba112012-01-20 14:57:15 +000079 call_address >= prev_call_address + patch_size());
Ben Murdochb8a8cc12014-11-26 15:28:44 +000080 DCHECK(call_address + patch_size() <= code->instruction_end());
Ben Murdochb0fe1622011-05-05 13:52:32 +010081#ifdef DEBUG
Ben Murdoch2b4ba112012-01-20 14:57:15 +000082 prev_call_address = call_address;
Ben Murdochb0fe1622011-05-05 13:52:32 +010083#endif
Ben Murdoch2b4ba112012-01-20 14:57:15 +000084 }
Ben Murdochb0fe1622011-05-05 13:52:32 +010085}
86
87
Ben Murdoch3fb3ca82011-12-02 17:19:32 +000088void Deoptimizer::FillInputFrame(Address tos, JavaScriptFrame* frame) {
89 // Set the register values. The values are not important as there are no
90 // callee saved registers in JavaScript frames, so all registers are
91 // spilled. Registers fp and sp are set to the correct values though.
Ben Murdochb0fe1622011-05-05 13:52:32 +010092
Ben Murdoch3fb3ca82011-12-02 17:19:32 +000093 for (int i = 0; i < Register::kNumRegisters; i++) {
94 input_->SetRegister(i, i * 4);
95 }
96 input_->SetRegister(sp.code(), reinterpret_cast<intptr_t>(frame->sp()));
97 input_->SetRegister(fp.code(), reinterpret_cast<intptr_t>(frame->fp()));
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000098 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; i++) {
Ben Murdoch3fb3ca82011-12-02 17:19:32 +000099 input_->SetDoubleRegister(i, 0.0);
100 }
101
102 // Fill the frame content from the actual data on the frame.
103 for (unsigned i = 0; i < input_->GetFrameSize(); i += kPointerSize) {
104 input_->SetFrameSlot(i, Memory::uint32_at(tos + i));
105 }
106}
107
108
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000109void Deoptimizer::SetPlatformCompiledStubRegisters(
110 FrameDescription* output_frame, CodeStubDescriptor* descriptor) {
111 ApiFunction function(descriptor->deoptimization_handler());
112 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_);
113 intptr_t handler = reinterpret_cast<intptr_t>(xref.address());
114 int params = descriptor->GetHandlerParameterCount();
115 output_frame->SetRegister(r0.code(), params);
116 output_frame->SetRegister(r1.code(), handler);
117}
118
119
120void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
121 for (int i = 0; i < DwVfpRegister::kMaxNumRegisters; ++i) {
122 double double_value = input_->GetDoubleRegister(i);
123 output_frame->SetDoubleRegister(i, double_value);
124 }
125}
126
127
128bool Deoptimizer::HasAlignmentPadding(JSFunction* function) {
129 // There is no dynamic alignment padding on ARM in the input frame.
130 return false;
131}
132
133
Ben Murdoch3fb3ca82011-12-02 17:19:32 +0000134#define __ masm()->
Ben Murdochb0fe1622011-05-05 13:52:32 +0100135
136// This code tries to be close to ia32 code so that any changes can be
137// easily ported.
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000138void Deoptimizer::TableEntryGenerator::Generate() {
Ben Murdochb0fe1622011-05-05 13:52:32 +0100139 GeneratePrologue();
Steve Block44f0eee2011-05-26 01:26:41 +0100140
Ben Murdochb0fe1622011-05-05 13:52:32 +0100141 // Save all general purpose registers before messing with them.
142 const int kNumberOfRegisters = Register::kNumRegisters;
143
144 // Everything but pc, lr and ip which will be saved but not restored.
145 RegList restored_regs = kJSCallerSaved | kCalleeSaved | ip.bit();
146
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000147 const int kDoubleRegsSize = kDoubleSize * DwVfpRegister::kMaxNumRegisters;
Ben Murdochb0fe1622011-05-05 13:52:32 +0100148
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000149 // Save all allocatable VFP registers before messing with them.
150 DCHECK(kDoubleRegZero.code() == 14);
151 DCHECK(kScratchDoubleReg.code() == 15);
152
153 // Check CPU flags for number of registers, setting the Z condition flag.
154 __ CheckFor32DRegs(ip);
155
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000156 // Push registers d0-d15, and possibly d16-d31, on the stack.
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000157 // If d16-d31 are not pushed, decrease the stack pointer instead.
158 __ vstm(db_w, sp, d16, d31, ne);
159 __ sub(sp, sp, Operand(16 * kDoubleSize), LeaveCC, eq);
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000160 __ vstm(db_w, sp, d0, d15);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100161
162 // Push all 16 registers (needed to populate FrameDescription::registers_).
Ben Murdoch69a99ed2011-11-30 16:03:39 +0000163 // TODO(1588) Note that using pc with stm is deprecated, so we should perhaps
164 // handle this a bit differently.
Ben Murdochb0fe1622011-05-05 13:52:32 +0100165 __ stm(db_w, sp, restored_regs | sp.bit() | lr.bit() | pc.bit());
166
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000167 __ mov(ip, Operand(ExternalReference(Isolate::kCEntryFPAddress, isolate())));
168 __ str(fp, MemOperand(ip));
169
Ben Murdochb0fe1622011-05-05 13:52:32 +0100170 const int kSavedRegistersAreaSize =
171 (kNumberOfRegisters * kPointerSize) + kDoubleRegsSize;
172
173 // Get the bailout id from the stack.
174 __ ldr(r2, MemOperand(sp, kSavedRegistersAreaSize));
175
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000176 // Get the address of the location in the code object (r3) (return
Ben Murdochb0fe1622011-05-05 13:52:32 +0100177 // address for lazy deoptimization) and compute the fp-to-sp delta in
178 // register r4.
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000179 __ mov(r3, lr);
180 // Correct one word for bailout id.
181 __ add(r4, sp, Operand(kSavedRegistersAreaSize + (1 * kPointerSize)));
Ben Murdochb0fe1622011-05-05 13:52:32 +0100182 __ sub(r4, fp, r4);
183
184 // Allocate a new deoptimizer object.
185 // Pass four arguments in r0 to r3 and fifth argument on stack.
Ben Murdoch8b112d22011-06-08 16:22:53 +0100186 __ PrepareCallCFunction(6, r5);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100187 __ ldr(r0, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
188 __ mov(r1, Operand(type())); // bailout type,
189 // r2: bailout id already loaded.
190 // r3: code address or 0 already loaded.
191 __ str(r4, MemOperand(sp, 0 * kPointerSize)); // Fp-to-sp delta.
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000192 __ mov(r5, Operand(ExternalReference::isolate_address(isolate())));
Ben Murdoch8b112d22011-06-08 16:22:53 +0100193 __ str(r5, MemOperand(sp, 1 * kPointerSize)); // Isolate.
Ben Murdochb0fe1622011-05-05 13:52:32 +0100194 // Call Deoptimizer::New().
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100195 {
196 AllowExternalCallThatCantCauseGC scope(masm());
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000197 __ CallCFunction(ExternalReference::new_deoptimizer_function(isolate()), 6);
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100198 }
Ben Murdochb0fe1622011-05-05 13:52:32 +0100199
200 // Preserve "deoptimizer" object in register r0 and get the input
201 // frame descriptor pointer to r1 (deoptimizer->input_);
202 __ ldr(r1, MemOperand(r0, Deoptimizer::input_offset()));
203
Ben Murdochb0fe1622011-05-05 13:52:32 +0100204 // Copy core registers into FrameDescription::registers_[kNumRegisters].
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000205 DCHECK(Register::kNumRegisters == kNumberOfRegisters);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100206 for (int i = 0; i < kNumberOfRegisters; i++) {
Steve Block1e0659c2011-05-24 12:43:12 +0100207 int offset = (i * kPointerSize) + FrameDescription::registers_offset();
Ben Murdochb0fe1622011-05-05 13:52:32 +0100208 __ ldr(r2, MemOperand(sp, i * kPointerSize));
209 __ str(r2, MemOperand(r1, offset));
210 }
211
212 // Copy VFP registers to
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000213 // double_registers_[DoubleRegister::kMaxNumAllocatableRegisters]
Ben Murdochb0fe1622011-05-05 13:52:32 +0100214 int double_regs_offset = FrameDescription::double_registers_offset();
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000215 const RegisterConfiguration* config =
216 RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT);
217 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) {
218 int code = config->GetAllocatableDoubleCode(i);
219 int dst_offset = code * kDoubleSize + double_regs_offset;
220 int src_offset = code * kDoubleSize + kNumberOfRegisters * kPointerSize;
Ben Murdochb0fe1622011-05-05 13:52:32 +0100221 __ vldr(d0, sp, src_offset);
222 __ vstr(d0, r1, dst_offset);
223 }
224
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000225 // Remove the bailout id and the saved registers from the stack.
226 __ add(sp, sp, Operand(kSavedRegistersAreaSize + (1 * kPointerSize)));
Ben Murdochb0fe1622011-05-05 13:52:32 +0100227
228 // Compute a pointer to the unwinding limit in register r2; that is
229 // the first stack slot not part of the input frame.
230 __ ldr(r2, MemOperand(r1, FrameDescription::frame_size_offset()));
231 __ add(r2, r2, sp);
232
233 // Unwind the stack down to - but not including - the unwinding
234 // limit and copy the contents of the activation frame to the input
235 // frame description.
236 __ add(r3, r1, Operand(FrameDescription::frame_content_offset()));
237 Label pop_loop;
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000238 Label pop_loop_header;
239 __ b(&pop_loop_header);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100240 __ bind(&pop_loop);
241 __ pop(r4);
242 __ str(r4, MemOperand(r3, 0));
243 __ add(r3, r3, Operand(sizeof(uint32_t)));
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000244 __ bind(&pop_loop_header);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100245 __ cmp(r2, sp);
246 __ b(ne, &pop_loop);
247
248 // Compute the output frame in the deoptimizer.
249 __ push(r0); // Preserve deoptimizer object across call.
250 // r0: deoptimizer object; r1: scratch.
251 __ PrepareCallCFunction(1, r1);
252 // Call Deoptimizer::ComputeOutputFrames().
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100253 {
254 AllowExternalCallThatCantCauseGC scope(masm());
255 __ CallCFunction(
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000256 ExternalReference::compute_output_frames_function(isolate()), 1);
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100257 }
Ben Murdochb0fe1622011-05-05 13:52:32 +0100258 __ pop(r0); // Restore deoptimizer object (class Deoptimizer).
259
260 // Replace the current (input) frame with the output frames.
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000261 Label outer_push_loop, inner_push_loop,
262 outer_loop_header, inner_loop_header;
263 // Outer loop state: r4 = current "FrameDescription** output_",
Ben Murdochb0fe1622011-05-05 13:52:32 +0100264 // r1 = one past the last FrameDescription**.
265 __ ldr(r1, MemOperand(r0, Deoptimizer::output_count_offset()));
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000266 __ ldr(r4, MemOperand(r0, Deoptimizer::output_offset())); // r4 is output_.
267 __ add(r1, r4, Operand(r1, LSL, 2));
268 __ jmp(&outer_loop_header);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100269 __ bind(&outer_push_loop);
270 // Inner loop state: r2 = current FrameDescription*, r3 = loop index.
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000271 __ ldr(r2, MemOperand(r4, 0)); // output_[ix]
Ben Murdochb0fe1622011-05-05 13:52:32 +0100272 __ ldr(r3, MemOperand(r2, FrameDescription::frame_size_offset()));
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000273 __ jmp(&inner_loop_header);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100274 __ bind(&inner_push_loop);
275 __ sub(r3, r3, Operand(sizeof(uint32_t)));
Ben Murdochb0fe1622011-05-05 13:52:32 +0100276 __ add(r6, r2, Operand(r3));
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000277 __ ldr(r6, MemOperand(r6, FrameDescription::frame_content_offset()));
278 __ push(r6);
279 __ bind(&inner_loop_header);
280 __ cmp(r3, Operand::Zero());
Ben Murdochb0fe1622011-05-05 13:52:32 +0100281 __ b(ne, &inner_push_loop); // test for gt?
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000282 __ add(r4, r4, Operand(kPointerSize));
283 __ bind(&outer_loop_header);
284 __ cmp(r4, r1);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100285 __ b(lt, &outer_push_loop);
286
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000287 // Check CPU flags for number of registers, setting the Z condition flag.
288 __ CheckFor32DRegs(ip);
289
290 __ ldr(r1, MemOperand(r0, Deoptimizer::input_offset()));
291 int src_offset = FrameDescription::double_registers_offset();
292 for (int i = 0; i < DwVfpRegister::kMaxNumRegisters; ++i) {
293 if (i == kDoubleRegZero.code()) continue;
294 if (i == kScratchDoubleReg.code()) continue;
295
296 const DwVfpRegister reg = DwVfpRegister::from_code(i);
297 __ vldr(reg, r1, src_offset, i < 16 ? al : ne);
298 src_offset += kDoubleSize;
Ben Murdochb0fe1622011-05-05 13:52:32 +0100299 }
300
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000301 // Push state, pc, and continuation from the last output frame.
302 __ ldr(r6, MemOperand(r2, FrameDescription::state_offset()));
303 __ push(r6);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100304 __ ldr(r6, MemOperand(r2, FrameDescription::pc_offset()));
305 __ push(r6);
306 __ ldr(r6, MemOperand(r2, FrameDescription::continuation_offset()));
307 __ push(r6);
308
309 // Push the registers from the last output frame.
310 for (int i = kNumberOfRegisters - 1; i >= 0; i--) {
Steve Block1e0659c2011-05-24 12:43:12 +0100311 int offset = (i * kPointerSize) + FrameDescription::registers_offset();
Ben Murdochb0fe1622011-05-05 13:52:32 +0100312 __ ldr(r6, MemOperand(r2, offset));
313 __ push(r6);
314 }
315
316 // Restore the registers from the stack.
317 __ ldm(ia_w, sp, restored_regs); // all but pc registers.
318 __ pop(ip); // remove sp
319 __ pop(ip); // remove lr
320
Ben Murdochc7cc0282012-03-05 14:35:55 +0000321 __ InitializeRootRegister();
Ben Murdochb0fe1622011-05-05 13:52:32 +0100322
323 __ pop(ip); // remove pc
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000324 __ pop(ip); // get continuation, leave pc on stack
Ben Murdochb0fe1622011-05-05 13:52:32 +0100325 __ pop(lr);
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000326 __ Jump(ip);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100327 __ stop("Unreachable.");
328}
329
330
331void Deoptimizer::TableEntryGenerator::GeneratePrologue() {
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000332 // Create a sequence of deoptimization entries.
333 // Note that registers are still live when jumping to an entry.
Ben Murdochb0fe1622011-05-05 13:52:32 +0100334 Label done;
335 for (int i = 0; i < count(); i++) {
336 int start = masm()->pc_offset();
337 USE(start);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100338 __ mov(ip, Operand(i));
Ben Murdochb0fe1622011-05-05 13:52:32 +0100339 __ b(&done);
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000340 DCHECK(masm()->pc_offset() - start == table_entry_size_);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100341 }
342 __ bind(&done);
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000343 __ push(ip);
Ben Murdochb0fe1622011-05-05 13:52:32 +0100344}
345
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000346
347void FrameDescription::SetCallerPc(unsigned offset, intptr_t value) {
348 SetFrameSlot(offset, value);
349}
350
351
352void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) {
353 SetFrameSlot(offset, value);
354}
355
356
357void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) {
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000358 DCHECK(FLAG_enable_embedded_constant_pool);
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000359 SetFrameSlot(offset, value);
360}
361
362
Ben Murdochb0fe1622011-05-05 13:52:32 +0100363#undef __
364
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000365} // namespace internal
366} // namespace v8