Commit 2a259f9d authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Changed #define symbols in test to OBJECT_PRINT from PRINT_OBJECT

because this is actually what is being used.

Patch by Mark Lam from Hewlett-Packard Development Company, LP

Review URL: http://codereview.chromium.org/6037015


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6128 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent cd73368f
......@@ -74,7 +74,7 @@ TEST(AssemblerIa320) {
Handle<Object>(Heap::undefined_value()))->
ToObjectChecked();
CHECK(code->IsCode());
#ifdef PRINT_OBJECT
#ifdef OBJECT_PRINT
Code::cast(code)->Print();
#endif
F2 f = FUNCTION_CAST<F2>(Code::cast(code)->entry());
......@@ -112,7 +112,7 @@ TEST(AssemblerIa321) {
Handle<Object>(Heap::undefined_value()))->
ToObjectChecked();
CHECK(code->IsCode());
#ifdef PRINT_OBJECT
#ifdef OBJECT_PRINT
Code::cast(code)->Print();
#endif
F1 f = FUNCTION_CAST<F1>(Code::cast(code)->entry());
......@@ -155,7 +155,7 @@ TEST(AssemblerIa322) {
Handle<Object>(Heap::undefined_value()))->ToObjectChecked();
CHECK(code->IsCode());
#ifdef PRINT_OBJECT
#ifdef OBJECT_PRINT
Code::cast(code)->Print();
#endif
F1 f = FUNCTION_CAST<F1>(Code::cast(code)->entry());
......@@ -329,7 +329,7 @@ TEST(AssemblerIa328) {
Code::ComputeFlags(Code::STUB),
Handle<Object>(Heap::undefined_value()))->ToObjectChecked());
CHECK(code->IsCode());
#ifdef PRINT_OBJECT
#ifdef OBJECT_PRINT
Code::cast(code)->Print();
#endif
F6 f = FUNCTION_CAST<F6>(Code::cast(code)->entry());
......@@ -384,7 +384,7 @@ TEST(AssemblerIa329) {
Code::ComputeFlags(Code::STUB),
Handle<Object>(Heap::undefined_value()))->ToObjectChecked());
CHECK(code->IsCode());
#ifdef PRINT_OBJECT
#ifdef OBJECT_PRINT
Code::cast(code)->Print();
#endif
......
......@@ -443,7 +443,7 @@ TEST(DisasmIa320) {
Code::ComputeFlags(Code::STUB),
Handle<Object>(Heap::undefined_value()))->ToObjectChecked();
CHECK(code->IsCode());
#ifdef PRINT_OBJECT
#ifdef OBJECT_PRINT
Code::cast(code)->Print();
byte* begin = Code::cast(code)->instruction_start();
byte* end = begin + Code::cast(code)->instruction_size();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment