mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 937751 - Followup to compile with clang versions that treat |struct S; struct __attribute__((visibility("default"))) S {};| as an error. rs=mccr8
--HG-- extra : rebase_source : 97d6faaaa484a9544d2683c4a1af5c3e044fa2d3
This commit is contained in:
parent
579513aaf3
commit
fd8d240cfd
@ -7,6 +7,8 @@
|
||||
#ifndef js_SliceBudget_h
|
||||
#define js_SliceBudget_h
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace js {
|
||||
|
||||
/*
|
||||
@ -15,7 +17,8 @@ namespace js {
|
||||
* unlimited time, and others are bounded. To reduce the number of gettimeofday
|
||||
* calls, we only check the time every 1000 operations.
|
||||
*/
|
||||
struct JS_PUBLIC_API(SliceBudget) {
|
||||
struct JS_PUBLIC_API(SliceBudget)
|
||||
{
|
||||
int64_t deadline; /* in microseconds */
|
||||
intptr_t counter;
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "jsobj.h"
|
||||
|
||||
#include "js/GCAPI.h"
|
||||
#include "js/SliceBudget.h"
|
||||
#include "js/Tracer.h"
|
||||
#include "js/Vector.h"
|
||||
|
||||
@ -39,7 +40,6 @@ class PropertyName;
|
||||
class ScopeObject;
|
||||
class Shape;
|
||||
class UnownedBaseShape;
|
||||
struct SliceBudget;
|
||||
|
||||
unsigned GetCPUCount();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user