Revision: 22928
Author: [email protected]
Date: Wed Aug 6 12:59:02 2014 UTC
Log: Revert "Add initial support for compiler unit tests using
GTest/GMock."
This reverts commit r22927 for breaking build.
[email protected]
Review URL: https://codereview.chromium.org/448663002
http://code.google.com/p/v8/source/detail?r=22928
Deleted:
/branches/bleeding_edge/test/compiler-unittests
Modified:
/branches/bleeding_edge/build/all.gyp
/branches/bleeding_edge/src/compiler/code-generator-impl.h
/branches/bleeding_edge/src/compiler/instruction-selector-impl.h
/branches/bleeding_edge/tools/presubmit.py
/branches/bleeding_edge/tools/run-tests.py
=======================================
--- /branches/bleeding_edge/build/all.gyp Wed Aug 6 12:52:47 2014 UTC
+++ /branches/bleeding_edge/build/all.gyp Wed Aug 6 12:59:02 2014 UTC
@@ -12,7 +12,6 @@
'../src/d8.gyp:d8',
'../test/base-unittests/base-unittests.gyp:*',
'../test/cctest/cctest.gyp:*',
- '../test/compiler-unittests/compiler-unittests.gyp:*',
],
'conditions': [
['component!="shared_library"', {
=======================================
--- /branches/bleeding_edge/src/compiler/code-generator-impl.h Wed Aug 6
12:52:47 2014 UTC
+++ /branches/bleeding_edge/src/compiler/code-generator-impl.h Wed Aug 6
12:59:02 2014 UTC
@@ -65,7 +65,7 @@
}
BasicBlock* InputBlock(int index) {
- NodeId block_id = static_cast<NodeId>(InputInt32(index));
+ NodeId block_id = static_cast<NodeId>(instr_->InputAt(index)->index());
// operand should be a block id.
DCHECK(block_id >= 0);
DCHECK(block_id < gen_->schedule()->BasicBlockCount());
=======================================
--- /branches/bleeding_edge/src/compiler/instruction-selector-impl.h Wed
Aug 6 12:52:47 2014 UTC
+++ /branches/bleeding_edge/src/compiler/instruction-selector-impl.h Wed
Aug 6 12:59:02 2014 UTC
@@ -145,7 +145,7 @@
InstructionOperand* Label(BasicBlock* block) {
// TODO(bmeurer): We misuse ImmediateOperand here.
- return TempImmediate(block->id());
+ return ImmediateOperand::Create(block->id(), zone());
}
protected:
=======================================
--- /branches/bleeding_edge/tools/presubmit.py Wed Aug 6 12:52:47 2014 UTC
+++ /branches/bleeding_edge/tools/presubmit.py Wed Aug 6 12:59:02 2014 UTC
@@ -237,8 +237,7 @@
def GetPathsToSearch(self):
return ['src', 'include', 'samples',
join('test', 'base-unittests'),
- join('test', 'cctest'),
- join('test', 'compiler-unittests')]
+ join('test', 'cctest')]
def GetCpplintScript(self, prio_path):
for path in [prio_path] + os.environ["PATH"].split(os.pathsep):
=======================================
--- /branches/bleeding_edge/tools/run-tests.py Wed Aug 6 12:52:47 2014 UTC
+++ /branches/bleeding_edge/tools/run-tests.py Wed Aug 6 12:59:02 2014 UTC
@@ -51,7 +51,7 @@
ARCH_GUESS = utils.DefaultArch()
DEFAULT_TESTS = ["mjsunit", "fuzz-natives", "base-unittests",
- "cctest", "compiler-unittests", "message", "preparser"]
+ "cctest", "message", "preparser"]
TIMEOUT_DEFAULT = 60
TIMEOUT_SCALEFACTOR = {"debug" : 4,
"release" : 1 }
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.