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

Side by Side Diff: src/wasm/wasm-objects.cc

Issue 2900713004: [objects] Extract DebugInfo and BreakPointInfo to own file (Closed)
Patch Set: Remove undefs from objects-inl.h Created 3 years, 7 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/wasm/wasm-objects.h" 5 #include "src/wasm/wasm-objects.h"
6 #include "src/utils.h" 6 #include "src/utils.h"
7 7
8 #include "src/assembler-inl.h" 8 #include "src/assembler-inl.h"
9 #include "src/base/iterator.h" 9 #include "src/base/iterator.h"
10 #include "src/compiler/wasm-compiler.h" 10 #include "src/compiler/wasm-compiler.h"
11 #include "src/debug/debug-interface.h" 11 #include "src/debug/debug-interface.h"
12 #include "src/objects-inl.h" 12 #include "src/objects-inl.h"
13 #include "src/objects/debug-objects-inl.h"
13 #include "src/wasm/module-decoder.h" 14 #include "src/wasm/module-decoder.h"
14 #include "src/wasm/wasm-code-specialization.h" 15 #include "src/wasm/wasm-code-specialization.h"
15 #include "src/wasm/wasm-module.h" 16 #include "src/wasm/wasm-module.h"
16 #include "src/wasm/wasm-text.h" 17 #include "src/wasm/wasm-text.h"
17 18
18 #define TRACE(...) \ 19 #define TRACE(...) \
19 do { \ 20 do { \
20 if (FLAG_trace_wasm_instances) PrintF(__VA_ARGS__); \ 21 if (FLAG_trace_wasm_instances) PrintF(__VA_ARGS__); \
21 } while (false) 22 } while (false)
22 23
(...skipping 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after
1578 if (!array->get(kWrapperInstanceObject)->IsWeakCell()) return false; 1579 if (!array->get(kWrapperInstanceObject)->IsWeakCell()) return false;
1579 Isolate* isolate = array->GetIsolate(); 1580 Isolate* isolate = array->GetIsolate();
1580 if (!array->get(kNextInstanceWrapper)->IsUndefined(isolate) && 1581 if (!array->get(kNextInstanceWrapper)->IsUndefined(isolate) &&
1581 !array->get(kNextInstanceWrapper)->IsFixedArray()) 1582 !array->get(kNextInstanceWrapper)->IsFixedArray())
1582 return false; 1583 return false;
1583 if (!array->get(kPreviousInstanceWrapper)->IsUndefined(isolate) && 1584 if (!array->get(kPreviousInstanceWrapper)->IsUndefined(isolate) &&
1584 !array->get(kPreviousInstanceWrapper)->IsFixedArray()) 1585 !array->get(kPreviousInstanceWrapper)->IsFixedArray())
1585 return false; 1586 return false;
1586 return true; 1587 return true;
1587 } 1588 }
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