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

Side by Side Diff: test/cctest/test-code-stub-assembler.cc

Issue 2760953002: [builtins] Move more files into v8_builtins_generators source set (Closed)
Patch Set: rebased Created 3 years, 9 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
« no previous file with comments | « src/v8.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 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 "src/api.h" 5 #include "src/api.h"
6 #include "src/base/utils/random-number-generator.h" 6 #include "src/base/utils/random-number-generator.h"
7 #include "src/builtins/builtins-promise.h" 7 #include "src/builtins/builtins-promise-gen.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stub-assembler.h" 9 #include "src/code-stub-assembler.h"
10 #include "src/compiler/node.h" 10 #include "src/compiler/node.h"
11 #include "src/debug/debug.h" 11 #include "src/debug/debug.h"
12 #include "src/isolate.h" 12 #include "src/isolate.h"
13 #include "src/objects-inl.h" 13 #include "src/objects-inl.h"
14 #include "test/cctest/compiler/code-assembler-tester.h" 14 #include "test/cctest/compiler/code-assembler-tester.h"
15 #include "test/cctest/compiler/function-tester.h" 15 #include "test/cctest/compiler/function-tester.h"
16 16
17 namespace v8 { 17 namespace v8 {
(...skipping 2438 matching lines...) Expand 10 before | Expand all | Expand 10 after
2456 m.Return(m.SmiConstant(0)); 2456 m.Return(m.SmiConstant(0));
2457 2457
2458 Handle<Code> code = data.GenerateCode(); 2458 Handle<Code> code = data.GenerateCode();
2459 CHECK(!code.is_null()); 2459 CHECK(!code.is_null());
2460 FunctionTester ft(code, kNumParams); 2460 FunctionTester ft(code, kNumParams);
2461 CHECK_EQ(1, Handle<Smi>::cast(ft.Call().ToHandleChecked())->value()); 2461 CHECK_EQ(1, Handle<Smi>::cast(ft.Call().ToHandleChecked())->value());
2462 } 2462 }
2463 2463
2464 } // namespace internal 2464 } // namespace internal
2465 } // namespace v8 2465 } // namespace v8
OLDNEW
« no previous file with comments | « src/v8.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698