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

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

Issue 2562693003: Save and restore feedback from JIT. (Closed)
Patch Set: . Created 4 years 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
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
4
5 #include "vm/json_parser.h"
6
7 namespace dart {
8
9 ParsedJSONArray* ParsedJSONObject::ArrayAt(const char* key) {
Florian Schneider 2016/12/15 19:09:35 Can this be moved into the .h file by using a forw
rmacnak 2016/12/15 21:27:19 Yes, I can mark in inline.
10 ParsedJSONValue* member = At(key);
11 if ((member == NULL) || !member->IsArray()) {
12 return NULL;
13 }
14 return static_cast<ParsedJSONArray*>(member);
15 }
16
17 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698