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

Side by Side Diff: src/runtime.cc

Issue 7039037: Create stand-alone json parser (including scanner). (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/parser.cc ('k') | src/scanner.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 24 matching lines...) Expand all
35 #include "codegen.h" 35 #include "codegen.h"
36 #include "compilation-cache.h" 36 #include "compilation-cache.h"
37 #include "compiler.h" 37 #include "compiler.h"
38 #include "cpu.h" 38 #include "cpu.h"
39 #include "dateparser-inl.h" 39 #include "dateparser-inl.h"
40 #include "debug.h" 40 #include "debug.h"
41 #include "deoptimizer.h" 41 #include "deoptimizer.h"
42 #include "execution.h" 42 #include "execution.h"
43 #include "global-handles.h" 43 #include "global-handles.h"
44 #include "jsregexp.h" 44 #include "jsregexp.h"
45 #include "json-parser.h"
45 #include "liveedit.h" 46 #include "liveedit.h"
46 #include "liveobjectlist-inl.h" 47 #include "liveobjectlist-inl.h"
47 #include "parser.h" 48 #include "parser.h"
48 #include "platform.h" 49 #include "platform.h"
49 #include "runtime-profiler.h" 50 #include "runtime-profiler.h"
50 #include "runtime.h" 51 #include "runtime.h"
51 #include "scopeinfo.h" 52 #include "scopeinfo.h"
52 #include "smart-pointer.h" 53 #include "smart-pointer.h"
53 #include "string-search.h" 54 #include "string-search.h"
54 #include "stub-cache.h" 55 #include "stub-cache.h"
(...skipping 12160 matching lines...) Expand 10 before | Expand all | Expand 10 after
12215 } else { 12216 } else {
12216 // Handle last resort GC and make sure to allow future allocations 12217 // Handle last resort GC and make sure to allow future allocations
12217 // to grow the heap without causing GCs (if possible). 12218 // to grow the heap without causing GCs (if possible).
12218 isolate->counters()->gc_last_resort_from_js()->Increment(); 12219 isolate->counters()->gc_last_resort_from_js()->Increment();
12219 isolate->heap()->CollectAllGarbage(false); 12220 isolate->heap()->CollectAllGarbage(false);
12220 } 12221 }
12221 } 12222 }
12222 12223
12223 12224
12224 } } // namespace v8::internal 12225 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/scanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698