Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Side by Side Diff: test/unittests/interpreter/bytecodes-unittest.cc

Issue 1369123002: [Interpreter] Add interpreter support for compare ops and ToBoolean. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Incorporate review feedback from mstarzinger and rmcilroy. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <vector> 5 #include <vector>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/interpreter/bytecodes.h" 9 #include "src/interpreter/bytecodes.h"
10 #include "test/unittests/test-utils.h" 10 #include "test/unittests/test-utils.h"
11 11
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 Register r = Register::FromParameterIndex(i, parameter_count); 54 Register r = Register::FromParameterIndex(i, parameter_count);
55 uint8_t operand = r.ToOperand(); 55 uint8_t operand = r.ToOperand();
56 operand_count[operand] += 1; 56 operand_count[operand] += 1;
57 CHECK_EQ(operand_count[operand], 1); 57 CHECK_EQ(operand_count[operand], 1);
58 } 58 }
59 } 59 }
60 60
61 } // namespace interpreter 61 } // namespace interpreter
62 } // namespace internal 62 } // namespace internal
63 } // namespace v8 63 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/interpreter/test-interpreter.cc ('k') | test/unittests/runtime/runtime-interpreter-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698