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

Side by Side Diff: runtime/vm/stub_code_ia32.cc

Issue 1660063002: Remove many features when building product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 | « runtime/vm/stub_code_arm.cc ('k') | runtime/vm/stub_code_mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" 5 #include "vm/globals.h"
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/compiler.h" 9 #include "vm/compiler.h"
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 10 matching lines...) Expand all
21 21
22 #define __ assembler-> 22 #define __ assembler->
23 23
24 namespace dart { 24 namespace dart {
25 25
26 DEFINE_FLAG(bool, inline_alloc, true, "Inline allocation of objects."); 26 DEFINE_FLAG(bool, inline_alloc, true, "Inline allocation of objects.");
27 DEFINE_FLAG(bool, use_slow_path, false, 27 DEFINE_FLAG(bool, use_slow_path, false,
28 "Set to true for debugging & verifying the slow paths."); 28 "Set to true for debugging & verifying the slow paths.");
29 DECLARE_FLAG(bool, trace_optimized_ic_calls); 29 DECLARE_FLAG(bool, trace_optimized_ic_calls);
30 DECLARE_FLAG(int, optimization_counter_threshold); 30 DECLARE_FLAG(int, optimization_counter_threshold);
31 DECLARE_FLAG(bool, support_debugger);
32 DECLARE_FLAG(bool, lazy_dispatchers); 31 DECLARE_FLAG(bool, lazy_dispatchers);
33 32
34 #define INT32_SIZEOF(x) static_cast<int32_t>(sizeof(x)) 33 #define INT32_SIZEOF(x) static_cast<int32_t>(sizeof(x))
35 34
36 // Input parameters: 35 // Input parameters:
37 // ESP : points to return address. 36 // ESP : points to return address.
38 // ESP + 4 : address of last argument in argument array. 37 // ESP + 4 : address of last argument in argument array.
39 // ESP + 4*EDX : address of first argument in argument array. 38 // ESP + 4*EDX : address of first argument in argument array.
40 // ESP + 4*EDX + 4 : address of return value. 39 // ESP + 4*EDX + 4 : address of return value.
41 // ECX : address of the runtime function to call. 40 // ECX : address of the runtime function to call.
(...skipping 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after
2087 // Result: 2086 // Result:
2088 // EBX: target entry point 2087 // EBX: target entry point
2089 // EDX: arguments descriptor 2088 // EDX: arguments descriptor
2090 void StubCode::GenerateICLookupStub(Assembler* assembler) { 2089 void StubCode::GenerateICLookupStub(Assembler* assembler) {
2091 __ int3(); 2090 __ int3();
2092 } 2091 }
2093 2092
2094 } // namespace dart 2093 } // namespace dart
2095 2094
2096 #endif // defined TARGET_ARCH_IA32 2095 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_arm.cc ('k') | runtime/vm/stub_code_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698