mirror of https://github.com/lukechilds/node.git
Ryan
16 years ago
97 changed files with 3183 additions and 980 deletions
@ -0,0 +1,92 @@ |
|||
// Copyright 2009 the V8 project authors. All rights reserved.
|
|||
// Redistribution and use in source and binary forms, with or without
|
|||
// modification, are permitted provided that the following conditions are
|
|||
// met:
|
|||
//
|
|||
// * Redistributions of source code must retain the above copyright
|
|||
// notice, this list of conditions and the following disclaimer.
|
|||
// * Redistributions in binary form must reproduce the above
|
|||
// copyright notice, this list of conditions and the following
|
|||
// disclaimer in the documentation and/or other materials provided
|
|||
// with the distribution.
|
|||
// * Neither the name of Google Inc. nor the names of its
|
|||
// contributors may be used to endorse or promote products derived
|
|||
// from this software without specific prior written permission.
|
|||
//
|
|||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
|||
#include "v8.h" |
|||
|
|||
#include "constants-arm.h" |
|||
|
|||
|
|||
namespace assembler { |
|||
namespace arm { |
|||
|
|||
namespace v8i = v8::internal; |
|||
|
|||
|
|||
// These register names are defined in a way to match the native disassembler
|
|||
// formatting. See for example the command "objdump -d <binary file>".
|
|||
const char* Registers::names_[kNumRegisters] = { |
|||
"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", |
|||
"r8", "r9", "r10", "fp", "ip", "sp", "lr", "pc", |
|||
}; |
|||
|
|||
|
|||
// List of alias names which can be used when referring to ARM registers.
|
|||
const Registers::RegisterAlias Registers::aliases_[] = { |
|||
{10, "sl"}, |
|||
{11, "r11"}, |
|||
{12, "r12"}, |
|||
{13, "r13"}, |
|||
{14, "r14"}, |
|||
{15, "r15"}, |
|||
{kNoRegister, NULL} |
|||
}; |
|||
|
|||
|
|||
const char* Registers::Name(int reg) { |
|||
const char* result; |
|||
if ((0 <= reg) && (reg < kNumRegisters)) { |
|||
result = names_[reg]; |
|||
} else { |
|||
result = "noreg"; |
|||
} |
|||
return result; |
|||
} |
|||
|
|||
|
|||
int Registers::Number(const char* name) { |
|||
// Look through the canonical names.
|
|||
for (int i = 0; i < kNumRegisters; i++) { |
|||
if (strcmp(names_[i], name) == 0) { |
|||
return i; |
|||
} |
|||
} |
|||
|
|||
// Look through the alias names.
|
|||
int i = 0; |
|||
while (aliases_[i].reg != kNoRegister) { |
|||
if (strcmp(aliases_[i].name, name) == 0) { |
|||
return aliases_[i].reg; |
|||
} |
|||
i++; |
|||
} |
|||
|
|||
// No register with the reguested name found.
|
|||
return kNoRegister; |
|||
} |
|||
|
|||
|
|||
} } // namespace assembler::arm
|
@ -0,0 +1,115 @@ |
|||
// Copyright 2009 the V8 project authors. All rights reserved.
|
|||
// Redistribution and use in source and binary forms, with or without
|
|||
// modification, are permitted provided that the following conditions are
|
|||
// met:
|
|||
//
|
|||
// * Redistributions of source code must retain the above copyright
|
|||
// notice, this list of conditions and the following disclaimer.
|
|||
// * Redistributions in binary form must reproduce the above
|
|||
// copyright notice, this list of conditions and the following
|
|||
// disclaimer in the documentation and/or other materials provided
|
|||
// with the distribution.
|
|||
// * Neither the name of Google Inc. nor the names of its
|
|||
// contributors may be used to endorse or promote products derived
|
|||
// from this software without specific prior written permission.
|
|||
//
|
|||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
|||
// Flags: --expose-debug-as debug
|
|||
// Get the Debug object exposed from the debug context global object.
|
|||
Debug = debug.Debug |
|||
|
|||
var exception = null; |
|||
var state = 0; |
|||
var expected_function_name = null; |
|||
var expected_source_line_text = null; |
|||
var expected_caller_source_line = null; |
|||
var step_in_count = 2; |
|||
|
|||
// Simple debug event handler which first time will cause 'step in' action
|
|||
// to get into g.call and than check that execution is pauesed inside
|
|||
// function 'g'.
|
|||
function listener(event, exec_state, event_data, data) { |
|||
try { |
|||
if (event == Debug.DebugEvent.Break) { |
|||
if (state == 0) { |
|||
// Step into f().
|
|||
exec_state.prepareStep(Debug.StepAction.StepIn, step_in_count); |
|||
state = 2; |
|||
} else if (state == 2) { |
|||
assertEquals(expected_source_line_text, |
|||
event_data.sourceLineText()); |
|||
assertEquals(expected_function_name, event_data.func().name()); |
|||
state = 3; |
|||
} |
|||
} |
|||
} catch(e) { |
|||
exception = e; |
|||
} |
|||
}; |
|||
|
|||
// Add the debug event listener.
|
|||
Debug.setListener(listener); |
|||
|
|||
|
|||
function g() { |
|||
return "s"; // expected line
|
|||
} |
|||
|
|||
function testFunction() { |
|||
var f = g; |
|||
var s = 1 +f(10); |
|||
} |
|||
|
|||
function g2() { |
|||
return "s2"; // expected line
|
|||
} |
|||
|
|||
function testFunction2() { |
|||
var f = g2; |
|||
var s = 1 +f(10, 20); |
|||
} |
|||
|
|||
// Run three times. First time the function will be compiled lazily,
|
|||
// second time cached version will be used.
|
|||
for (var i = 0; i < 3; i++) { |
|||
state = 0; |
|||
expected_function_name = 'g'; |
|||
expected_source_line_text = ' return "s"; // expected line'; |
|||
step_in_count = 2; |
|||
// Set a break point and call to invoke the debug event listener.
|
|||
Debug.setBreakPoint(testFunction, 1, 0); |
|||
testFunction(); |
|||
assertNull(exception); |
|||
assertEquals(3, state); |
|||
} |
|||
|
|||
// Test stepping into function call when a breakpoint is set at the place
|
|||
// of call. Use different pair of functions so that g2 is compiled lazily.
|
|||
// Run twice: first time function will be compiled lazily, second time
|
|||
// cached version will be used.
|
|||
for (var i = 0; i < 3; i++) { |
|||
state = 0; |
|||
expected_function_name = 'g2'; |
|||
expected_source_line_text = ' return "s2"; // expected line'; |
|||
step_in_count = 1; |
|||
// Set a break point and call to invoke the debug event listener.
|
|||
Debug.setBreakPoint(testFunction2, 2, 0); |
|||
testFunction2(); |
|||
assertNull(exception); |
|||
assertEquals(3, state); |
|||
} |
|||
|
|||
|
|||
// Get rid of the debug event listener.
|
|||
Debug.setListener(null); |
@ -0,0 +1,106 @@ |
|||
// Copyright 2009 the V8 project authors. All rights reserved.
|
|||
// Redistribution and use in source and binary forms, with or without
|
|||
// modification, are permitted provided that the following conditions are
|
|||
// met:
|
|||
//
|
|||
// * Redistributions of source code must retain the above copyright
|
|||
// notice, this list of conditions and the following disclaimer.
|
|||
// * Redistributions in binary form must reproduce the above
|
|||
// copyright notice, this list of conditions and the following
|
|||
// disclaimer in the documentation and/or other materials provided
|
|||
// with the distribution.
|
|||
// * Neither the name of Google Inc. nor the names of its
|
|||
// contributors may be used to endorse or promote products derived
|
|||
// from this software without specific prior written permission.
|
|||
//
|
|||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
|||
// Flags: --expose-debug-as debug
|
|||
// Get the Debug object exposed from the debug context global object.
|
|||
Debug = debug.Debug |
|||
|
|||
var exception = null; |
|||
var step_out_count = 1; |
|||
|
|||
// Simple debug event handler which counts the number of breaks hit and steps.
|
|||
var break_point_hit_count = 0; |
|||
function listener(event, exec_state, event_data, data) { |
|||
try { |
|||
if (event == Debug.DebugEvent.Break) { |
|||
break_point_hit_count++; |
|||
// Continue stepping until returned to bottom frame.
|
|||
if (exec_state.frameCount() > 1) { |
|||
exec_state.prepareStep(Debug.StepAction.StepOut, step_out_count); |
|||
} |
|||
|
|||
} |
|||
} catch(e) { |
|||
exception = e; |
|||
} |
|||
|
|||
}; |
|||
|
|||
function BeginTest(name) { |
|||
test_name = name; |
|||
break_point_hit_count = 0; |
|||
exception = null; |
|||
} |
|||
|
|||
function EndTest(expected_break_point_hit_count) { |
|||
assertEquals(expected_break_point_hit_count, break_point_hit_count, test_name); |
|||
assertNull(exception, test_name); |
|||
test_name = null; |
|||
} |
|||
|
|||
// Add the debug event listener.
|
|||
Debug.setListener(listener); |
|||
|
|||
|
|||
var shouldBreak = null; |
|||
function fact(x) { |
|||
if (shouldBreak(x)) { |
|||
debugger; |
|||
} |
|||
if (x < 2) { |
|||
return 1; |
|||
} else { |
|||
return x*fact(x-1); |
|||
} |
|||
} |
|||
|
|||
BeginTest('Test 1'); |
|||
shouldBreak = function(x) { return x == 3; }; |
|||
step_out_count = 1; |
|||
fact(3); |
|||
EndTest(2); |
|||
|
|||
BeginTest('Test 2'); |
|||
shouldBreak = function(x) { return x == 2; }; |
|||
step_out_count = 1; |
|||
fact(3); |
|||
EndTest(3); |
|||
|
|||
BeginTest('Test 3'); |
|||
shouldBreak = function(x) { return x == 1; }; |
|||
step_out_count = 2; |
|||
fact(3); |
|||
EndTest(2); |
|||
|
|||
BeginTest('Test 4'); |
|||
shouldBreak = function(x) { print(x); return x == 1 || x == 3; }; |
|||
step_out_count = 2; |
|||
fact(3); |
|||
EndTest(3); |
|||
|
|||
// Get rid of the debug event listener.
|
|||
Debug.setListener(null); |
@ -0,0 +1,84 @@ |
|||
// Copyright 2009 the V8 project authors. All rights reserved.
|
|||
// Redistribution and use in source and binary forms, with or without
|
|||
// modification, are permitted provided that the following conditions are
|
|||
// met:
|
|||
//
|
|||
// * Redistributions of source code must retain the above copyright
|
|||
// notice, this list of conditions and the following disclaimer.
|
|||
// * Redistributions in binary form must reproduce the above
|
|||
// copyright notice, this list of conditions and the following
|
|||
// disclaimer in the documentation and/or other materials provided
|
|||
// with the distribution.
|
|||
// * Neither the name of Google Inc. nor the names of its
|
|||
// contributors may be used to endorse or promote products derived
|
|||
// from this software without specific prior written permission.
|
|||
//
|
|||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
|||
// Flags: --expose-debug-as debug
|
|||
|
|||
// Get the Debug object exposed from the debug context global object.
|
|||
Debug = debug.Debug |
|||
|
|||
var exception = null; |
|||
var state = 1; |
|||
var expected_source_line_text = null; |
|||
var expected_function_name = null; |
|||
|
|||
// Simple debug event handler which first time will cause 'step out' action
|
|||
// and than check that execution is paused inside function
|
|||
// expected_function_name.
|
|||
function listener(event, exec_state, event_data, data) { |
|||
try { |
|||
if (event == Debug.DebugEvent.Break) { |
|||
if (state == 1) { |
|||
exec_state.prepareStep(Debug.StepAction.StepOut, 2); |
|||
state = 2; |
|||
} else if (state == 2) { |
|||
assertEquals(expected_function_name, event_data.func().name()); |
|||
assertEquals(expected_source_line_text, |
|||
event_data.sourceLineText()); |
|||
state = 3; |
|||
} |
|||
} |
|||
} catch(e) { |
|||
exception = e; |
|||
} |
|||
}; |
|||
|
|||
// Add the debug event listener.
|
|||
Debug.setListener(listener); |
|||
|
|||
var obj = {key:10}; |
|||
|
|||
function replacer(key, value) { |
|||
if (key == 'key') { |
|||
debugger; |
|||
} |
|||
return value; |
|||
} |
|||
|
|||
// Test step into function call from a function without local variables.
|
|||
function testStepOutToBuiltIn() { |
|||
expected_function_name = 'testStepOutToBuiltIn'; |
|||
expected_source_line_text = '} // expected line'; |
|||
JSON.stringify(obj, replacer); |
|||
} // expected line
|
|||
|
|||
state = 1; |
|||
testStepOutToBuiltIn(); |
|||
assertNull(exception); |
|||
assertEquals(3, state); |
|||
|
|||
// Get rid of the debug event listener.
|
|||
Debug.setListener(null); |
@ -0,0 +1,34 @@ |
|||
// Copyright 2009 the V8 project authors. All rights reserved.
|
|||
// Redistribution and use in source and binary forms, with or without
|
|||
// modification, are permitted provided that the following conditions are
|
|||
// met:
|
|||
//
|
|||
// * Redistributions of source code must retain the above copyright
|
|||
// notice, this list of conditions and the following disclaimer.
|
|||
// * Redistributions in binary form must reproduce the above
|
|||
// copyright notice, this list of conditions and the following
|
|||
// disclaimer in the documentation and/or other materials provided
|
|||
// with the distribution.
|
|||
// * Neither the name of Google Inc. nor the names of its
|
|||
// contributors may be used to endorse or promote products derived
|
|||
// from this software without specific prior written permission.
|
|||
//
|
|||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
|||
// See http://crbug.com/18639
|
|||
|
|||
toString = toString; |
|||
__defineGetter__("z", (0).toLocaleString); |
|||
z; |
|||
z; |
|||
((0).toLocaleString)(); |
@ -0,0 +1,199 @@ |
|||
<?xml version="1.0" encoding="Windows-1252"?> |
|||
<VisualStudioProject |
|||
ProjectType="Visual C++" |
|||
Version="8.00" |
|||
Name="d8" |
|||
ProjectGUID="{7E4C7D2D-A4B9-40B9-8192-22654E626F6C}" |
|||
RootNamespace="d8" |
|||
Keyword="Win32Proj" |
|||
> |
|||
<Platforms> |
|||
<Platform |
|||
Name="Win32" |
|||
/> |
|||
</Platforms> |
|||
<ToolFiles> |
|||
</ToolFiles> |
|||
<Configurations> |
|||
<Configuration |
|||
Name="Debug|Win32" |
|||
ConfigurationType="1" |
|||
InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\debug.vsprops" |
|||
> |
|||
<Tool |
|||
Name="VCPreBuildEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXMLDataGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebServiceProxyGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCMIDLTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCLCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManagedResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPreLinkEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCLinkerTool" |
|||
AdditionalDependencies="winmm.lib Ws2_32.lib" |
|||
/> |
|||
<Tool |
|||
Name="VCALinkTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManifestTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXDCMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCBscMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCFxCopTool" |
|||
/> |
|||
<Tool |
|||
Name="VCAppVerifierTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebDeploymentTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPostBuildEventTool" |
|||
/> |
|||
</Configuration> |
|||
<Configuration |
|||
Name="Release|Win32" |
|||
ConfigurationType="1" |
|||
InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\release.vsprops" |
|||
> |
|||
<Tool |
|||
Name="VCPreBuildEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXMLDataGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebServiceProxyGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCMIDLTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCLCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManagedResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPreLinkEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCLinkerTool" |
|||
AdditionalDependencies="winmm.lib Ws2_32.lib" |
|||
/> |
|||
<Tool |
|||
Name="VCALinkTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManifestTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXDCMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCBscMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCFxCopTool" |
|||
/> |
|||
<Tool |
|||
Name="VCAppVerifierTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebDeploymentTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPostBuildEventTool" |
|||
/> |
|||
</Configuration> |
|||
</Configurations> |
|||
<References> |
|||
</References> |
|||
<Files> |
|||
<File |
|||
RelativePath="..\..\src\d8.cc" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\d8.h" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\d8-debug.cc" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\d8-debug.h" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\d8-windows.cc" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\d8.js" |
|||
> |
|||
<FileConfiguration |
|||
Name="Debug|Win32" |
|||
> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
Description="Processing js files..." |
|||
CommandLine=".\d8js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" |
|||
Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" |
|||
/> |
|||
</FileConfiguration> |
|||
<FileConfiguration |
|||
Name="Release|Win32" |
|||
> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
Description="Processing js files..." |
|||
CommandLine=".\d8js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" |
|||
Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" |
|||
/> |
|||
</FileConfiguration> |
|||
</File> |
|||
<Filter |
|||
Name="generated files" |
|||
> |
|||
<File |
|||
RelativePath="$(IntDir)\DerivedSources\natives.cc" |
|||
> |
|||
</File> |
|||
</Filter> |
|||
</Files> |
|||
<Globals> |
|||
</Globals> |
|||
</VisualStudioProject> |
@ -0,0 +1,223 @@ |
|||
<?xml version="1.0" encoding="Windows-1252"?> |
|||
<VisualStudioProject |
|||
ProjectType="Visual C++" |
|||
Version="8.00" |
|||
Name="v8" |
|||
ProjectGUID="{21E22961-22BF-4493-BD3A-868F93DA5179}" |
|||
RootNamespace="v8" |
|||
Keyword="Win32Proj" |
|||
> |
|||
<Platforms> |
|||
<Platform |
|||
Name="Win32" |
|||
/> |
|||
</Platforms> |
|||
<ToolFiles> |
|||
</ToolFiles> |
|||
<Configurations> |
|||
<Configuration |
|||
Name="Debug|Win32" |
|||
ConfigurationType="4" |
|||
InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\debug.vsprops" |
|||
> |
|||
<Tool |
|||
Name="VCPreBuildEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXMLDataGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebServiceProxyGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCMIDLTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCLCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManagedResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPreLinkEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCLibrarianTool" |
|||
LinkLibraryDependencies="true" |
|||
/> |
|||
<Tool |
|||
Name="VCALinkTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXDCMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCBscMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCFxCopTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPostBuildEventTool" |
|||
/> |
|||
</Configuration> |
|||
<Configuration |
|||
Name="Release|Win32" |
|||
ConfigurationType="4" |
|||
InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\release.vsprops" |
|||
> |
|||
<Tool |
|||
Name="VCPreBuildEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXMLDataGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebServiceProxyGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCMIDLTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCLCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManagedResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPreLinkEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCLibrarianTool" |
|||
LinkLibraryDependencies="true" |
|||
/> |
|||
<Tool |
|||
Name="VCALinkTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXDCMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCBscMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCFxCopTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPostBuildEventTool" |
|||
/> |
|||
</Configuration> |
|||
</Configurations> |
|||
<References> |
|||
</References> |
|||
<Files> |
|||
<Filter |
|||
Name="js" |
|||
> |
|||
<File |
|||
RelativePath="..\..\src\apinatives.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\array.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\date-delay.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\debug-delay.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\macros.py" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\math.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\messages.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\mirror-delay.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\regexp-delay.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\json-delay.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\runtime.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\string.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\uri.js" |
|||
> |
|||
</File> |
|||
<File |
|||
RelativePath="..\..\src\v8natives.js" |
|||
> |
|||
<FileConfiguration |
|||
Name="Debug|Win32" |
|||
> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
Description="Processing js files..." |
|||
CommandLine=".\js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" |
|||
AdditionalDependencies="..\..\src\macros.py;..\..\src\runtime.js;..\..\src\v8natives.js;..\..\src\array.js;..\..\src\string.js;..\..\src\uri.js;..\..\src\math.js;..\..\src\messages.js;..\..\src\apinatives.js;..\..\src\debug-delay.js;..\..\src\mirror-delay.js;..\..\src\date-delay.js;..\..\src\regexp-delay.js;..\..\src\json-delay.js" |
|||
Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" |
|||
/> |
|||
</FileConfiguration> |
|||
<FileConfiguration |
|||
Name="Release|Win32" |
|||
> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
Description="Processing js files..." |
|||
CommandLine=".\js2c.cmd ..\..\src "$(IntDir)\DerivedSources"" |
|||
AdditionalDependencies="..\..\src\macros.py;..\..\src\runtime.js;..\..\src\v8natives.js;..\..\src\array.js;..\..\src\string.js;..\..\src\uri.js;..\..\src\math.js;..\..\src\messages.js;..\..\src\apinatives.js;..\..\src\debug-delay.js;..\..\src\mirror-delay.js;..\..\src\date-delay.js;..\..\src\regexp-delay.js;..\..\src\json-delay.js" |
|||
Outputs="$(IntDir)\DerivedSources\natives.cc;$(IntDir)\DerivedSources\natives-empty.cc" |
|||
/> |
|||
</FileConfiguration> |
|||
</File> |
|||
</Filter> |
|||
<Filter |
|||
Name="generated files" |
|||
> |
|||
<File |
|||
RelativePath="$(IntDir)\DerivedSources\natives.cc" |
|||
> |
|||
</File> |
|||
</Filter> |
|||
<File |
|||
RelativePath="..\..\src\snapshot-empty.cc" |
|||
> |
|||
</File> |
|||
</Files> |
|||
<Globals> |
|||
</Globals> |
|||
</VisualStudioProject> |
@ -0,0 +1,151 @@ |
|||
<?xml version="1.0" encoding="Windows-1252"?> |
|||
<VisualStudioProject |
|||
ProjectType="Visual C++" |
|||
Version="8.00" |
|||
Name="v8_process_sample" |
|||
ProjectGUID="{EF019874-D38A-40E3-B17C-DB5923F0A79C}" |
|||
RootNamespace="v8_process_sample" |
|||
Keyword="Win32Proj" |
|||
> |
|||
<Platforms> |
|||
<Platform |
|||
Name="Win32" |
|||
/> |
|||
</Platforms> |
|||
<ToolFiles> |
|||
</ToolFiles> |
|||
<Configurations> |
|||
<Configuration |
|||
Name="Debug|Win32" |
|||
ConfigurationType="1" |
|||
InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\debug.vsprops" |
|||
> |
|||
<Tool |
|||
Name="VCPreBuildEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXMLDataGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebServiceProxyGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCMIDLTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCLCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManagedResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPreLinkEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCLinkerTool" |
|||
AdditionalDependencies="winmm.lib Ws2_32.lib" |
|||
/> |
|||
<Tool |
|||
Name="VCALinkTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManifestTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXDCMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCBscMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCFxCopTool" |
|||
/> |
|||
<Tool |
|||
Name="VCAppVerifierTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebDeploymentTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPostBuildEventTool" |
|||
/> |
|||
</Configuration> |
|||
<Configuration |
|||
Name="Release|Win32" |
|||
ConfigurationType="1" |
|||
InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\release.vsprops" |
|||
> |
|||
<Tool |
|||
Name="VCPreBuildEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXMLDataGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebServiceProxyGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCMIDLTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCLCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManagedResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPreLinkEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCLinkerTool" |
|||
AdditionalDependencies="winmm.lib Ws2_32.lib" |
|||
/> |
|||
<Tool |
|||
Name="VCALinkTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManifestTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXDCMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCBscMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCFxCopTool" |
|||
/> |
|||
<Tool |
|||
Name="VCAppVerifierTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebDeploymentTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPostBuildEventTool" |
|||
/> |
|||
</Configuration> |
|||
</Configurations> |
|||
<References> |
|||
</References> |
|||
<Files> |
|||
<File |
|||
RelativePath="..\..\samples\process.cc" |
|||
> |
|||
</File> |
|||
</Files> |
|||
<Globals> |
|||
</Globals> |
|||
</VisualStudioProject> |
@ -0,0 +1,151 @@ |
|||
<?xml version="1.0" encoding="Windows-1252"?> |
|||
<VisualStudioProject |
|||
ProjectType="Visual C++" |
|||
Version="8.00" |
|||
Name="v8_shell_sample" |
|||
ProjectGUID="{2DE20FFA-6F5E-48D9-84D8-09B044A5B119}" |
|||
RootNamespace="v8_shell_sample" |
|||
Keyword="Win32Proj" |
|||
> |
|||
<Platforms> |
|||
<Platform |
|||
Name="Win32" |
|||
/> |
|||
</Platforms> |
|||
<ToolFiles> |
|||
</ToolFiles> |
|||
<Configurations> |
|||
<Configuration |
|||
Name="Debug|Win32" |
|||
ConfigurationType="1" |
|||
InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\debug.vsprops" |
|||
> |
|||
<Tool |
|||
Name="VCPreBuildEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXMLDataGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebServiceProxyGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCMIDLTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCLCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManagedResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPreLinkEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCLinkerTool" |
|||
AdditionalDependencies="winmm.lib Ws2_32.lib" |
|||
/> |
|||
<Tool |
|||
Name="VCALinkTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManifestTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXDCMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCBscMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCFxCopTool" |
|||
/> |
|||
<Tool |
|||
Name="VCAppVerifierTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebDeploymentTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPostBuildEventTool" |
|||
/> |
|||
</Configuration> |
|||
<Configuration |
|||
Name="Release|Win32" |
|||
ConfigurationType="1" |
|||
InheritedPropertySheets=".\common.vsprops;.\arm.vsprops;.\release.vsprops" |
|||
> |
|||
<Tool |
|||
Name="VCPreBuildEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCustomBuildTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXMLDataGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebServiceProxyGeneratorTool" |
|||
/> |
|||
<Tool |
|||
Name="VCMIDLTool" |
|||
/> |
|||
<Tool |
|||
Name="VCCLCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManagedResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCResourceCompilerTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPreLinkEventTool" |
|||
/> |
|||
<Tool |
|||
Name="VCLinkerTool" |
|||
AdditionalDependencies="winmm.lib Ws2_32.lib" |
|||
/> |
|||
<Tool |
|||
Name="VCALinkTool" |
|||
/> |
|||
<Tool |
|||
Name="VCManifestTool" |
|||
/> |
|||
<Tool |
|||
Name="VCXDCMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCBscMakeTool" |
|||
/> |
|||
<Tool |
|||
Name="VCFxCopTool" |
|||
/> |
|||
<Tool |
|||
Name="VCAppVerifierTool" |
|||
/> |
|||
<Tool |
|||
Name="VCWebDeploymentTool" |
|||
/> |
|||
<Tool |
|||
Name="VCPostBuildEventTool" |
|||
/> |
|||
</Configuration> |
|||
</Configurations> |
|||
<References> |
|||
</References> |
|||
<Files> |
|||
<File |
|||
RelativePath="..\..\samples\shell.cc" |
|||
> |
|||
</File> |
|||
</Files> |
|||
<Globals> |
|||
</Globals> |
|||
</VisualStudioProject> |
Loading…
Reference in new issue